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