Package com.authlete.common.dto
Class GrantDeserializer
- java.lang.Object
-
- com.authlete.common.util.BaseJsonDeserializer
-
- com.authlete.common.dto.GrantDeserializer
-
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<Grant>
public class GrantDeserializer extends BaseJsonDeserializer implements com.google.gson.JsonDeserializer<Grant>
JSON deserializer forGrant
.- Since:
- 3.1
-
-
Constructor Summary
Constructors Constructor Description GrantDeserializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Grant
deserialize(com.google.gson.JsonElement jelement, Type type, com.google.gson.JsonDeserializationContext context)
-
Methods inherited from class com.authlete.common.util.BaseJsonDeserializer
getAsArrayFromObject, getAsStringArrayFromObject, getAsStringFromArray, getAsStringFromObject, getFromObject
-
-
-
-
Method Detail
-
deserialize
public Grant deserialize(com.google.gson.JsonElement jelement, Type type, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
- Specified by:
deserialize
in interfacecom.google.gson.JsonDeserializer<Grant>
- Throws:
com.google.gson.JsonParseException
-
-