Package com.authlete.common.util
Class BaseJsonDeserializer
- java.lang.Object
-
- com.authlete.common.util.BaseJsonDeserializer
-
- Direct Known Subclasses:
AuthzDetailsDeserializer
,AuthzDetailsElementDeserializer
,GrantDeserializer
public class BaseJsonDeserializer extends Object
The base class for implementations ofJsonDeserializer
.- Since:
- 2.57
-
-
Constructor Summary
Constructors Constructor Description BaseJsonDeserializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gson.JsonArray
getAsArrayFromObject(com.google.gson.JsonObject jobject, String name)
String[]
getAsStringArrayFromObject(com.google.gson.JsonObject jobject, String name)
String
getAsStringFromArray(com.google.gson.JsonArray jarray, int index)
String
getAsStringFromObject(com.google.gson.JsonObject jobject, String name)
com.google.gson.JsonElement
getFromObject(com.google.gson.JsonObject jobject, String name)
-
-
-
Method Detail
-
getFromObject
public com.google.gson.JsonElement getFromObject(com.google.gson.JsonObject jobject, String name)
-
getAsStringFromObject
public String getAsStringFromObject(com.google.gson.JsonObject jobject, String name)
-
getAsStringFromArray
public String getAsStringFromArray(com.google.gson.JsonArray jarray, int index)
-
getAsArrayFromObject
public com.google.gson.JsonArray getAsArrayFromObject(com.google.gson.JsonObject jobject, String name)
-
-