The object model API is a high-level API that provides immutable object
models for JSON object and array structures. These JSON structures are
represented as object models using the Java types
JsonArray. The interface
Map view to access the unordered collection of zero or
more name/value pairs from the model. Similarly, the interface
JsonArray provides a
List view to access the
ordered sequence of zero or more values from the model.
The object model API uses builder patterns to create and modify
these object models. The classes
JsonArrayBuilder provide methods to create and modify models
This package includes several classes that implement other JSON related standards: JSON Pointer, JSON Patch, and JSON Merge Patch. They can be used to retrieve, transform or manipulate values in an object model.
Interface Summary Interface Description JsonArray
JsonArrayrepresents an immutable JSON array (an ordered sequence of zero or more values).
JsonArrayBuilderA builder for creating
JsonArraymodels from scratch, and for modifying a existing
JsonBuilderFactory JsonMergePatchThis interface represents an implementation of a JSON Merge Patch as defined by RFC 7396. JsonNumberAn immutable JSON number value. JsonObject
JsonObjectclass represents an immutable JSON object value (an unordered collection of zero or more name/value pairs).
JsonObjectBuilderA builder for creating
JsonObjectmodels from scratch.
JsonPatchThis interface represents an immutable implementation of a JSON Patch as defined by RFC 6902. JsonPatchBuilderA builder for constructing a JSON Patch as defined by RFC 6902 by adding JSON Patch operations incrementally. JsonPointerThis interface represents an immutable implementation of a JSON Pointer as defined by RFC 6901. JsonReader JsonReaderFactoryFactory to create
JsonStringAn immutable JSON string value. JsonStructure JsonValue
JsonValuerepresents an immutable JSON value.
JsonWriter JsonWriterFactoryFactory to create
Class Summary Class Description JsonFactory class for creating JSON processing objects.
Enum Summary Enum Description JsonPatch.OperationThis enum represents the list of valid JSON Patch operations as defined by RFC 6902. JsonValue.ValueTypeIndicates the type of a
Exception Summary Exception Description JsonException
JsonExceptionindicates that some exception happened during JSON processing.