T - generic type.@Deprecated public class GeneralFieldMappingObjectAdapter<T> extends com.google.gson.TypeAdapter<T>
| 构造器和说明 |
|---|
GeneralFieldMappingObjectAdapter(Class clazz,
Map<String,Type> jsonFields,
com.google.gson.FieldNamingPolicy policy)
已过时。
|
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.