Package | Description |
---|---|
org.forgerock.json | |
org.forgerock.json.crypto | |
org.forgerock.json.ref | |
org.forgerock.json.schema.validator.exceptions |
Modifier and Type | Method and Description |
---|---|
static Function<JsonValue,Charset,JsonValueException> |
JsonValueFunctions.charset()
Returns the JSON string value as a character set used for byte
encoding/decoding.
|
static Function<JsonValue,JsonValue,JsonValueException> |
JsonValueFunctions.deepTransformBy(Function<JsonValue,?,JsonValueException> function)
Returns the JSON value as the result of a deep JsonValue object-traversal,
applying the provided transform
function to each element. |
static Function<JsonValue,Duration,JsonValueException> |
JsonValueFunctions.duration()
Returns the JSON string value as a
Duration . |
static <T extends Enum<T>> |
JsonValueFunctions.enumConstant(Class<T> type)
Returns the JSON string value as an enum constant of the specified enum
type.
|
static Function<JsonValue,File,JsonValueException> |
JsonValueFunctions.file()
Returns the JSON string value as a
File object. |
static Function<JsonValue,JsonValue,JsonValueException> |
JsonValueFunctions.identity()
Returns an identity function that will copy the input
JsonValue . |
static Function<JsonValue,Pattern,JsonValueException> |
JsonValueFunctions.pattern()
Returns the JSON string value as a regular expression pattern.
|
static Function<JsonValue,JsonPointer,JsonValueException> |
JsonValueFunctions.pointer()
Returns the JSON string value as a JSON pointer.
|
static <V> Function<JsonValue,Set<V>,JsonValueException> |
JsonValueFunctions.setOf(Class<V> type)
Returns the JSON value as a
Set containing objects whose type
(and value) is specified by the parameter type . |
static Function<JsonValue,URI,JsonValueException> |
JsonValueFunctions.uri()
Returns the JSON string value as a uniform resource identifier.
|
static Function<JsonValue,URL,JsonValueException> |
JsonValueFunctions.url()
Returns the JSON string value as a uniform resource locator.
|
static Function<JsonValue,UUID,JsonValueException> |
JsonValueFunctions.uuid()
Returns the JSON string value as a universally unique identifier (UUID).
|
Modifier and Type | Method and Description |
---|---|
static Function<JsonValue,JsonValue,JsonValueException> |
JsonValueFunctions.deepTransformBy(Function<JsonValue,?,JsonValueException> function)
Returns the JSON value as the result of a deep JsonValue object-traversal,
applying the provided transform
function to each element. |
Constructor and Description |
---|
JsonValueTraverseFunction(Function<JsonValue,?,JsonValueException> transform)
Construct the traversal function with a transformation function to apply to each array element
nested object attribute value element, or primitive element.
|
Modifier and Type | Method and Description |
---|---|
void |
JsonCrypto.fromJsonValue(JsonValue value)
Initializes this object from the specified
$crypto JSON object value. |
Constructor and Description |
---|
JsonCrypto(JsonValue value)
Constructs a new JSON cryptographic object, initializing from a JSON value.
|
Modifier and Type | Method and Description |
---|---|
JsonReference |
JsonReference.fromJsonValue(JsonValue value)
Initializes this object from a
$ref JSON object value. |
Modifier and Type | Class and Description |
---|---|
class |
SchemaException
Encapsulate a general JSON validator error.
|
class |
ValidationException
Encapsulate a JSON validator error.
|
Copyright © 2025 Open Identity Platform Community. All rights reserved.