public final class SoftParseEnumTypeAdapter<T extends Enum>
extends com.google.gson.TypeAdapter
| Constructor and Description |
|---|
SoftParseEnumTypeAdapter(Class<T> clazz,
T defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
Object |
read(com.google.gson.stream.JsonReader jsonReader) |
void |
write(com.google.gson.stream.JsonWriter jsonWriter,
Object o) |
public void write(com.google.gson.stream.JsonWriter jsonWriter,
Object o)
throws IOException
write in class com.google.gson.TypeAdapterIOExceptionpublic Object read(com.google.gson.stream.JsonReader jsonReader) throws IOException
read in class com.google.gson.TypeAdapterIOExceptionCopyright © 2016. All rights reserved.