public class InvokeRequestGson extends java.lang.Object implements com.google.gson.JsonSerializer<InvokeRequest>, com.google.gson.JsonDeserializer<InvokeRequest>
InvokeRequests.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ARG_TYPES |
static java.lang.String |
ARGS |
static java.lang.String |
OPERATION_TYPE |
static java.lang.String |
REMOTE_ID |
| Constructor and Description |
|---|
InvokeRequestGson() |
| Modifier and Type | Method and Description |
|---|---|
InvokeRequest |
deserialize(com.google.gson.JsonElement json,
java.lang.reflect.Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
com.google.gson.JsonElement |
serialize(InvokeRequest src,
java.lang.reflect.Type typeOfSrc,
com.google.gson.JsonSerializationContext context) |
public static final java.lang.String REMOTE_ID
public static final java.lang.String OPERATION_TYPE
public static final java.lang.String ARG_TYPES
public static final java.lang.String ARGS
public com.google.gson.JsonElement serialize(InvokeRequest src, java.lang.reflect.Type typeOfSrc, com.google.gson.JsonSerializationContext context)
serialize in interface com.google.gson.JsonSerializer<InvokeRequest>public InvokeRequest 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<InvokeRequest>com.google.gson.JsonParseException