Provides an object model API to process JSON. (JSR 374)
JSR 374 specifies the Java API for JSON Processing.
From the Javadoc description:
Provides an object model API to process JSON.
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
JsonObjectandJsonArray. The interfacejavax.json.JsonObjectprovides aMapview to access the unordered collection of zero or more name/value pairs from the model. Similarly, the interfaceJsonArrayprovides aListview to access the ordered sequence of zero or more values from the model.The object model API uses builder patterns to create these object models. The classes
JsonObjectBuilderandJsonArrayBuilderprovide methods to create models of typeJsonObjectandJsonArrayrespectively.These object models can also be created from an input source using the class
JsonReader. Similarly, these object models can be written to an output source using the classJsonWriter.