public static class GsonEmptyCheckTypeAdapterFactory.EmptyCheckTypeAdapter<T>
extends com.google.gson.TypeAdapter<T>
| Constructor | Description |
|---|---|
EmptyCheckTypeAdapter(com.google.gson.TypeAdapter<T> delegate,
com.google.gson.TypeAdapter<com.google.gson.JsonElement> elementAdapter) |
| Modifier and Type | Method | Description |
|---|---|---|
T |
read(com.google.gson.stream.JsonReader in) |
|
void |
write(com.google.gson.stream.JsonWriter out,
T value) |
public EmptyCheckTypeAdapter(com.google.gson.TypeAdapter<T> delegate, com.google.gson.TypeAdapter<com.google.gson.JsonElement> elementAdapter)
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 © 2018. All rights reserved.