public static class GsonUtility.ValueReferenceGsonTypeAdapter extends java.lang.Object implements com.google.gson.JsonSerializer<ValueReference>, com.google.gson.JsonDeserializer<ValueReference>
Constructor and Description |
---|
ValueReferenceGsonTypeAdapter() |
Modifier and Type | Method and Description |
---|---|
ValueReference |
deserialize(com.google.gson.JsonElement json,
java.lang.reflect.Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
com.google.gson.JsonElement |
serialize(ValueReference valueRef,
java.lang.reflect.Type typeOfSrc,
com.google.gson.JsonSerializationContext context) |
public com.google.gson.JsonElement serialize(ValueReference valueRef, java.lang.reflect.Type typeOfSrc, com.google.gson.JsonSerializationContext context)
serialize
in interface com.google.gson.JsonSerializer<ValueReference>
public ValueReference 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<ValueReference>
com.google.gson.JsonParseException