public static class KeyValuePair.KeyValuePairJsonDeSerializer
extends java.lang.Object
Constructor and Description |
---|
KeyValuePairJsonDeSerializer() |
Modifier and Type | Method and Description |
---|---|
KeyValuePair |
deserialize(JsonElement json,
java.lang.reflect.Type typeOfT,
JsonDeserializationContext context)
KeyValuePair json 反序列化实现函数
|
public KeyValuePair deserialize(JsonElement json, java.lang.reflect.Type typeOfT, JsonDeserializationContext context) throws JsonParseException
json
- 原始json数据typeOfT
- 目标类型context
- 反序列化上下文JsonParseException