public class AggregationDeserializer extends 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,
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, 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 JSONCopyright © 2022 IBM Cloud. All rights reserved.