public class AggregationDeserializer extends java.lang.Object implements com.google.gson.JsonDeserializer<QueryAggregation>
QueryAggregation
.Constructor and Description |
---|
AggregationDeserializer()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
QueryAggregation |
deserialize(com.google.gson.JsonElement json,
java.lang.reflect.Type typeOfT,
com.google.gson.JsonDeserializationContext context)
Deprecated.
Deserializes JSON and converts it to the appropriate
QueryAggregation subclass. |
public QueryAggregation deserialize(com.google.gson.JsonElement json, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
QueryAggregation
subclass.deserialize
in interface com.google.gson.JsonDeserializer<QueryAggregation>
json
- the JSON data being deserializedtypeOfT
- the type to deserialize to, which should be QueryAggregation
context
- additional information about the deserialization stateQueryAggregation
subclasscom.google.gson.JsonParseException
- signals that there has been an issue parsing the JSON