public class GeneralSimpleObjectAdapter<T>
extends com.google.gson.TypeAdapter<T>
| Constructor and Description |
|---|
GeneralSimpleObjectAdapter(Class clazz) |
| Modifier and Type | Method and Description |
|---|---|
T |
read(com.google.gson.stream.JsonReader jsonReader) |
void |
write(com.google.gson.stream.JsonWriter jsonWriter,
T t) |
public GeneralSimpleObjectAdapter(Class clazz)
public void write(com.google.gson.stream.JsonWriter jsonWriter,
T t)
throws IOException
write in class com.google.gson.TypeAdapter<T>IOExceptionpublic T read(com.google.gson.stream.JsonReader jsonReader) throws IOException
read in class com.google.gson.TypeAdapter<T>IOExceptionCopyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.