| com.google.gson.JsonDeserializationContext |
Summary
| Public Methods |
|
abstract
<T>
T
|
deserialize(JsonElement json, Type typeOfT)
Invokes default deserialization on the specified object.
|
Public Methods
public
abstract
T
deserialize
(JsonElement json, Type typeOfT)
Invokes default deserialization on the specified object. It should never be invoked on
the element received as a parameter of the
deserialize(JsonElement, Type, JsonDeserializationContext) method. Doing
so will result in an infinite loop since Gson will in-turn call the custom deserializer again.
Parameters
| json |
the parse tree. |
| typeOfT |
type of the expected return value. |
Returns
- An object of type typeOfT.