public class TestOutcomeSerializer extends Object implements com.google.gson.JsonSerializer<TestOutcome>, com.google.gson.JsonDeserializer<TestOutcome>
Modifier and Type | Field and Description |
---|---|
static String |
ESCAPE_CHAR_FOR_NEW_LINE |
static String |
NEW_LINE_CHAR |
Constructor and Description |
---|
TestOutcomeSerializer() |
Modifier and Type | Method and Description |
---|---|
TestOutcome |
deserialize(com.google.gson.JsonElement json,
Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
com.google.gson.JsonElement |
serialize(TestOutcome testOutcome,
Type typeOfSrc,
com.google.gson.JsonSerializationContext context) |
public static final String NEW_LINE_CHAR
public static final String ESCAPE_CHAR_FOR_NEW_LINE
public com.google.gson.JsonElement serialize(TestOutcome testOutcome, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
serialize
in interface com.google.gson.JsonSerializer<TestOutcome>
public TestOutcome deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
deserialize
in interface com.google.gson.JsonDeserializer<TestOutcome>
com.google.gson.JsonParseException
Copyright © 2011–2014 Wakaleo Consulting. All rights reserved.