public class EnumTypeAdapter<T extends java.lang.Enum<T>>
extends com.google.gson.TypeAdapter<T>
Modifier and Type | Class and Description |
---|---|
static class |
EnumTypeAdapter.Factory |
Modifier and Type | Method and Description |
---|---|
T |
read(com.google.gson.stream.JsonReader in) |
void |
write(com.google.gson.stream.JsonWriter out,
T value) |
public T read(com.google.gson.stream.JsonReader in) throws java.io.IOException