Package com.revetsec.json
@NullMarked
package com.revetsec.json
Revetsec's public, immutable JSON value model (RFC 8259), shared by the JOSE, OAuth, OpenID Connect and SCIM
packages:
JsonValue and its six permitted types.
There is no public parser. Values come from Revetsec's protocol types, or are built with the types' factories and
JsonObject.builder(). JsonValue.toJson() serializes a value,
and every toString() is redacted, so logging a value never shows its content.
It depends only on the root package, apart from Revetsec's internal packages.
- Author:
- Mark Allen
-
ClassDescriptionA JSON array: an ordered, unmodifiable list of values.A JSON
trueorfalse.The JSONnull.A JSON number, held exactly as aBigDecimal.A JSON object: an unmodifiable map from member names to values that keeps the order in which members were added.Builds aJsonObjectone member at a time, keeping the order in which members are added.A JSON string.An immutable JSON value (RFC 8259): exactly one ofJsonObject,JsonArray,JsonString,JsonNumber,JsonBooleanorJsonNull.