public interface JsonDeserializationContext
JsonDeserializer.deserialize(JsonElement, Type, JsonDeserializationContext)
method.Modifier and Type | Method and Description |
---|---|
<T> T |
deserialize(JsonElement json,
java.lang.reflect.Type typeOfT)
Invokes default deserialization on the specified object.
|
<T> T deserialize(JsonElement json, java.lang.reflect.Type typeOfT) throws JsonParseException
JsonDeserializer.deserialize(JsonElement, Type, JsonDeserializationContext)
method. Doing
so will result in an infinite loop since Gson will in-turn call the custom deserializer again.T
- The type of the deserialized object.json
- the parse tree.typeOfT
- type of the expected return value.JsonParseException
- if the parse tree does not contain expected data.Copyright © 2010 - 2020 Adobe. All Rights Reserved