Package | Description |
---|---|
org.forgerock.json.fluent |
Modifier and Type | Method and Description |
---|---|
void |
JsonValue.add(int index,
Object object)
Adds the specified value to the list.
|
JsonValue |
JsonValue.add(String key,
Object object)
Adds the specified value.
|
Boolean |
JsonValue.asBoolean()
Returns the JSON value as a
Boolean object. |
Charset |
JsonValue.asCharset()
Returns the JSON string value as a character set used for byte encoding/decoding.
|
Double |
JsonValue.asDouble()
Returns the JSON value as a
Double object. |
<T extends Enum<T>> |
JsonValue.asEnum(Class<T> type)
Returns the JSON string value as an enum constant of the specified enum type.
|
File |
JsonValue.asFile()
Returns the JSON string value as a
File object. |
Integer |
JsonValue.asInteger()
Returns the JSON value as an
Integer object. |
List<Object> |
JsonValue.asList()
Returns the JSON value as a
List object. |
<E> List<E> |
JsonValue.asList(Class<E> type)
Returns the JSON value as a
List containing objects of the specified type. |
Long |
JsonValue.asLong()
Returns the JSON value as a
Long object. |
Map<String,Object> |
JsonValue.asMap()
Returns the JSON value as a
Map object. |
Number |
JsonValue.asNumber()
Returns the JSON value as a
Number object. |
Pattern |
JsonValue.asPattern()
Returns the JSON string value as a regular expression pattern.
|
JsonPointer |
JsonValue.asPointer()
Returns the JSON string value as a JSON pointer.
|
String |
JsonValue.asString()
Returns the JSON value as a
String object. |
URI |
JsonValue.asURI()
Returns the JSON string value as a uniform resource identifier.
|
UUID |
JsonValue.asUUID()
Returns the JSON string value as a universally unique identifier (UUID).
|
void |
JsonValue.clear()
Removes all child values from this JSON value, if it has any.
|
JsonValue |
JsonValue.expect(Class<?> type)
Called to enforce that the JSON value is of a particular type.
|
void |
JsonValue.put(int index,
Object object)
Sets the value of the specified child list element.
|
void |
JsonValue.put(JsonPointer pointer,
Object object)
Sets the value of the value identified by the specified pointer, relative to this value
as root.
|
void |
JsonValue.put(String key,
Object object)
Sets the value of the specified member.
|
JsonValue |
JsonValue.required()
Throws a
JsonValueException if the JSON value is null . |
Copyright © 2025 Open Identity Platform Community. All rights reserved.