public class CdoSnapshotStateTypeAdapter extends JsonTypeAdapterTemplate<CdoSnapshotState>
| Constructor and Description |
|---|
CdoSnapshotStateTypeAdapter() |
| Modifier and Type | Method and Description |
|---|---|
CdoSnapshotState |
fromJson(com.google.gson.JsonElement json,
com.google.gson.JsonDeserializationContext jsonDeserializationContext) |
java.lang.Class |
getValueType() |
com.google.gson.JsonElement |
toJson(CdoSnapshotState snapshotState,
com.google.gson.JsonSerializationContext context) |
getValueTypespublic java.lang.Class getValueType()
getValueType in class JsonTypeAdapterTemplate<CdoSnapshotState>public CdoSnapshotState fromJson(com.google.gson.JsonElement json, com.google.gson.JsonDeserializationContext jsonDeserializationContext)
json - not null and not JsonNulljsonDeserializationContext - use it to invoke default deserialization on the specified objectpublic com.google.gson.JsonElement toJson(CdoSnapshotState snapshotState, com.google.gson.JsonSerializationContext context)
snapshotState - not nullcontext - use it to invoke default serialization on the specified object