Class JsonValueFunctions
java.lang.Object
org.forgerock.json.resource.JsonValueFunctions
-
Method Summary
Modifier and TypeMethodDescriptionstatic Function<JsonValue, QueryFilter<JsonPointer>, JsonValueException> Parses and returns the JSON string value as aQueryFilter.static Function<JsonValue, ResourcePath, JsonValueException> Returns the JSON string value as aResourcePath.
-
Method Details
-
resourcePath
Returns the JSON string value as aResourcePath. If the JSON value isnull, this method returnsnull.- Returns:
- the
ResourcePathrepresented by the JSON value string. - Throws:
JsonValueException- if the JSON value is not a string or valid ResourcePath.
-
queryFilter
Parses and returns the JSON string value as aQueryFilter. If the JSON value isnull, this method returnsnull.- Returns:
- the
QueryFilterrepresented by the JSON value string. - Throws:
JsonValueException- if the JSON value is not a stringIllegalArgumentException- if the JSON value is not a valid QueryFilter
-