Package com.authlete.common.dto
Class AuthzDetailsElementSerializer
- java.lang.Object
-
- com.authlete.common.util.BaseJsonSerializer
-
- com.authlete.common.dto.AuthzDetailsElementSerializer
-
- All Implemented Interfaces:
com.google.gson.JsonSerializer<AuthzDetailsElement>
public class AuthzDetailsElementSerializer extends BaseJsonSerializer implements com.google.gson.JsonSerializer<AuthzDetailsElement>
JSON serializer forAuthzDetailsElement
."Other fields" (the string returned from
AuthzDetailsElement.getOtherFields()
) are expanded and merged with the independent fields such astype
andlocations
.- Since:
- 2.57
-
-
Constructor Summary
Constructors Constructor Description AuthzDetailsElementSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gson.JsonElement
serialize(AuthzDetailsElement element, Type type, com.google.gson.JsonSerializationContext context)
-
Methods inherited from class com.authlete.common.util.BaseJsonSerializer
addUnlessNull, fromStringArray
-
-
-
-
Method Detail
-
serialize
public com.google.gson.JsonElement serialize(AuthzDetailsElement element, Type type, com.google.gson.JsonSerializationContext context)
- Specified by:
serialize
in interfacecom.google.gson.JsonSerializer<AuthzDetailsElement>
-
-