public class InterfaceAdapter<T> extends Object implements com.google.gson.JsonSerializer, com.google.gson.JsonDeserializer<T>
| 构造器和说明 |
|---|
InterfaceAdapter() |
| 限定符和类型 | 方法和说明 |
|---|---|
T |
deserialize(com.google.gson.JsonElement jsonElement,
Type type,
com.google.gson.JsonDeserializationContext jsonDeserializationContext) |
com.google.gson.JsonElement |
serialize(Object object,
Type type,
com.google.gson.JsonSerializationContext jsonSerializationContext) |
public T deserialize(com.google.gson.JsonElement jsonElement, Type type, com.google.gson.JsonDeserializationContext jsonDeserializationContext) throws com.google.gson.JsonParseException
deserialize 在接口中 com.google.gson.JsonDeserializer<T>com.google.gson.JsonParseExceptionCopyright © 2016. All Rights Reserved.