public final class NullableTypeAdapter<T>
extends com.google.gson.TypeAdapter<T>
| Constructor and Description |
|---|
NullableTypeAdapter(com.google.gson.TypeAdapter<T> nullable) |
| 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 NullableTypeAdapter(com.google.gson.TypeAdapter<T> nullable)
public void write(com.google.gson.stream.JsonWriter out,
T value)
throws IOException
write in class com.google.gson.TypeAdapter<T>IOExceptionpublic T read(com.google.gson.stream.JsonReader in) throws IOException
read in class com.google.gson.TypeAdapter<T>IOExceptionCopyright © 2016. All rights reserved.