public class JSONMarshaller
extends java.lang.Object
Constructor and Description |
---|
JSONMarshaller() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
deserialize(JsonElement jsonElement,
java.lang.reflect.Type type,
JsonDeserializationContext jsonDeserializationContext) |
JsonElement |
serialize(java.lang.Object object,
java.lang.reflect.Type type,
JsonSerializationContext jsonSerializationContext) |
public JsonElement serialize(java.lang.Object object, java.lang.reflect.Type type, JsonSerializationContext jsonSerializationContext)
public java.lang.Object deserialize(JsonElement jsonElement, java.lang.reflect.Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException
JsonParseException