mitreid-connect
|
静的公開メンバ関数 | |
static JsonElement | getAsArray (Set< String > value) |
static JsonElement | getAsArray (Set< String > value, boolean preserveEmpty) |
static Date | getAsDate (JsonObject o, String member) |
static JWEAlgorithm | getAsJweAlgorithm (JsonObject o, String member) |
static EncryptionMethod | getAsJweEncryptionMethod (JsonObject o, String member) |
static JWSAlgorithm | getAsJwsAlgorithm (JsonObject o, String member) |
static PKCEAlgorithm | getAsPkceAlgorithm (JsonObject o, String member) |
static String | getAsString (JsonObject o, String member) |
static Boolean | getAsBoolean (JsonObject o, String member) |
static Long | getAsLong (JsonObject o, String member) |
static Set< String > | getAsStringSet (JsonObject o, String member) throws JsonSyntaxException |
static List< String > | getAsStringList (JsonObject o, String member) throws JsonSyntaxException |
static List< JWSAlgorithm > | getAsJwsAlgorithmList (JsonObject o, String member) |
static List< JWEAlgorithm > | getAsJweAlgorithmList (JsonObject o, String member) |
static List< EncryptionMethod > | getAsEncryptionMethodList (JsonObject o, String member) |
static Map | readMap (JsonReader reader) throws IOException |
static Set | readSet (JsonReader reader) throws IOException |
static void | writeNullSafeArray (JsonWriter writer, Set< String > items) throws IOException |
静的非公開変数類 | |
static final Logger | logger = LoggerFactory.getLogger(JsonUtils.class) |
static Gson | gson = new Gson() |
A collection of null-safe converters from common classes and JSON elements, using GSON.
|
inlinestatic |
Translate a set of strings to a JSON array, empty array returned as null
value |
|
inlinestatic |
Translate a set of strings to a JSON array, optionally preserving the empty array. Otherwise (default) empty array is returned as null.
value | |
preserveEmpty |
|
inlinestatic |
|
inlinestatic |
Gets the value of the given member (expressed as integer seconds since epoch) as a Date
|
inlinestatic |
Gets the value of the given member as a list of JWS Algorithms, null if it doesn't exist
|
inlinestatic |
Gets the value of the given member as a JWE Algorithm, null if it doesn't exist
|
inlinestatic |
Gets the value of the given member as a list of JWS Algorithms, null if it doesn't exist
|
inlinestatic |
Gets the value of the given member as a JWE Encryption Method, null if it doesn't exist
|
inlinestatic |
Gets the value of the given member as a JWS Algorithm, null if it doesn't exist
|
inlinestatic |
Gets the value of the given member as a list of JWS Algorithms, null if it doesn't exist
|
inlinestatic |
|
inlinestatic |
Gets the value of the given member as a PKCE Algorithm, null if it doesn't exist
o | |
member |
|
inlinestatic |
|
inlinestatic |
Gets the value of the given given member as a set of strings, null if it doesn't exist
|
inlinestatic |
Gets the value of the given given member as a set of strings, null if it doesn't exist
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
staticprivate |
|
staticprivate |
Logger for this class