Package com.authlete.common.dto
Class AuthzDetailsElementDeserializer
- java.lang.Object
-
- com.authlete.common.util.BaseJsonDeserializer
-
- com.authlete.common.dto.AuthzDetailsElementDeserializer
-
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<AuthzDetailsElement>
public class AuthzDetailsElementDeserializer extends BaseJsonDeserializer implements com.google.gson.JsonDeserializer<AuthzDetailsElement>
JSON deserializer forAuthzDetailsElement
.Other fields than the independent fields such as
type
andlocations
are packed into oneotherFields
string.- Since:
- 2.57
-
-
Constructor Summary
Constructors Constructor Description AuthzDetailsElementDeserializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthzDetailsElement
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 AuthzDetailsElement 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<AuthzDetailsElement>
- Throws:
com.google.gson.JsonParseException
-
-