| Constructor and Description |
|---|
QueryDeserializer() |
| Modifier and Type | Method and Description |
|---|---|
Query |
deserialize(com.google.gson.JsonElement json,
Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
static com.google.gson.Gson |
getGson()
This method returns a static
Gson instance configured with this custom deserializer for the Magento
GraphQL Query root type. |
public Query deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
deserialize in interface com.google.gson.JsonDeserializer<Query>com.google.gson.JsonParseExceptionpublic static com.google.gson.Gson getGson()
Gson instance configured with this custom deserializer for the Magento
GraphQL Query root type. This method always returns the same static deserializer.Copyright © 2022 Adobe. All rights reserved.