T - generic type.@Deprecated public class GeneralFieldMappingObjectAdapter<T> extends com.google.gson.TypeAdapter<T>
| Constructor and Description |
|---|
GeneralFieldMappingObjectAdapter(Class clazz,
Map<String,Type> jsonFields,
com.google.gson.FieldNamingPolicy policy)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
T |
read(com.google.gson.stream.JsonReader jsonReader)
Deprecated.
|
void |
write(com.google.gson.stream.JsonWriter jsonWriter,
T t)
Deprecated.
|
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.