public class InvokeResponseDesSer extends java.lang.Object implements com.google.gson.JsonSerializer<InvokeResponse<?>>, com.google.gson.JsonDeserializer<InvokeResponse<?>>
InvokeResponse
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TYPE |
static java.lang.String |
VALUE |
Constructor and Description |
---|
InvokeResponseDesSer(java.lang.ClassLoader classLoader) |
Modifier and Type | Method and Description |
---|---|
InvokeResponse<?> |
deserialize(com.google.gson.JsonElement json,
java.lang.reflect.Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
com.google.gson.JsonElement |
serialize(InvokeResponse<?> src,
java.lang.reflect.Type typeOfSrc,
com.google.gson.JsonSerializationContext context) |
public static final java.lang.String TYPE
public static final java.lang.String VALUE
public InvokeResponseDesSer(java.lang.ClassLoader classLoader)
public com.google.gson.JsonElement serialize(InvokeResponse<?> src, java.lang.reflect.Type typeOfSrc, com.google.gson.JsonSerializationContext context)
serialize
in interface com.google.gson.JsonSerializer<InvokeResponse<?>>
public InvokeResponse<?> deserialize(com.google.gson.JsonElement json, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
deserialize
in interface com.google.gson.JsonDeserializer<InvokeResponse<?>>
com.google.gson.JsonParseException