public class GeneralSimpleObjectAdapter<T>
extends com.google.gson.TypeAdapter<T>
| 构造器和说明 |
|---|
GeneralSimpleObjectAdapter(Class clazz) |
public GeneralSimpleObjectAdapter(Class clazz)
public void write(com.google.gson.stream.JsonWriter jsonWriter,
T t)
throws IOException
write 在类中 com.google.gson.TypeAdapter<T>IOExceptionpublic T read(com.google.gson.stream.JsonReader jsonReader) throws IOException
read 在类中 com.google.gson.TypeAdapter<T>IOExceptionCopyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.