Class CdoSnapshotStateTypeAdapter
- java.lang.Object
-
- org.javers.core.json.JsonTypeAdapterTemplate<CdoSnapshotState>
-
- org.javers.core.json.typeadapter.commit.CdoSnapshotStateTypeAdapter
-
- All Implemented Interfaces:
JsonTypeAdapter<CdoSnapshotState>
public class CdoSnapshotStateTypeAdapter extends JsonTypeAdapterTemplate<CdoSnapshotState>
-
-
Constructor Summary
Constructors Constructor Description CdoSnapshotStateTypeAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class org.javers.core.json.JsonTypeAdapterTemplate
getValueTypes
-
-
-
-
Method Detail
-
getValueType
public java.lang.Class getValueType()
- Specified by:
getValueType
in classJsonTypeAdapterTemplate<CdoSnapshotState>
-
fromJson
public CdoSnapshotState fromJson(com.google.gson.JsonElement json, com.google.gson.JsonDeserializationContext jsonDeserializationContext)
- Parameters:
json
- not null and not JsonNulljsonDeserializationContext
- use it to invoke default deserialization on the specified object
-
toJson
public com.google.gson.JsonElement toJson(CdoSnapshotState snapshotState, com.google.gson.JsonSerializationContext context)
- Parameters:
snapshotState
- not nullcontext
- use it to invoke default serialization on the specified object
-
-