Constructor and Description |
---|
JSONMarshaller() |
Modifier and Type | Method and Description |
---|---|
Object |
deserialize(com.google.gson.JsonElement jsonElement,
Type type,
com.google.gson.JsonDeserializationContext jsonDeserializationContext) |
com.google.gson.JsonElement |
serialize(Object object,
Type type,
com.google.gson.JsonSerializationContext jsonSerializationContext) |
public com.google.gson.JsonElement serialize(Object object, Type type, com.google.gson.JsonSerializationContext jsonSerializationContext)
serialize
in interface com.google.gson.JsonSerializer<Object>
public Object deserialize(com.google.gson.JsonElement jsonElement, Type type, com.google.gson.JsonDeserializationContext jsonDeserializationContext) throws com.google.gson.JsonParseException
deserialize
in interface com.google.gson.JsonDeserializer<Object>
com.google.gson.JsonParseException