public class AggregationDeserializer extends java.lang.Object implements com.google.gson.JsonDeserializer<QueryAggregation>
QueryAggregation.| Constructor and Description | 
|---|
| AggregationDeserializer() | 
| Modifier and Type | Method and Description | 
|---|---|
| QueryAggregation | deserialize(com.google.gson.JsonElement json,
           java.lang.reflect.Type typeOfT,
           com.google.gson.JsonDeserializationContext context)Deserializes JSON and converts it to the appropriate  QueryAggregationsubclass. | 
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 QueryAggregationcontext - additional information about the deserialization stateQueryAggregation subclasscom.google.gson.JsonParseException - signals that there has been an issue parsing the JSON