public static class PokemonSpec.Adapter extends java.lang.Object implements com.google.gson.JsonDeserializer<PokemonSpec>
Modifier and Type | Field and Description |
---|---|
static com.google.gson.Gson |
GSON |
Constructor and Description |
---|
Adapter() |
Modifier and Type | Method and Description |
---|---|
PokemonSpec |
deserialize(com.google.gson.JsonElement element,
java.lang.reflect.Type type,
com.google.gson.JsonDeserializationContext ctx) |
public PokemonSpec deserialize(com.google.gson.JsonElement element, java.lang.reflect.Type type, com.google.gson.JsonDeserializationContext ctx) throws com.google.gson.JsonParseException
deserialize
in interface com.google.gson.JsonDeserializer<PokemonSpec>
com.google.gson.JsonParseException