Constructor and Description |
---|
DimensionAdapter() |
Modifier and Type | Method and Description |
---|---|
Dimension |
deserialize(com.google.gson.JsonElement jsonElement,
java.lang.reflect.Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
com.google.gson.JsonElement |
serialize(Dimension src,
java.lang.reflect.Type typeOfSrc,
com.google.gson.JsonSerializationContext context) |
public Dimension deserialize(com.google.gson.JsonElement jsonElement, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
deserialize
in interface com.google.gson.JsonDeserializer<Dimension>
com.google.gson.JsonParseException