# Package javax.json

Provides an object model API to process JSON.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  JsonArray | `JsonArray` represents an immutable JSON array (an ordered sequence of zero or more values).
  JsonArrayBuilder | A builder for creating `JsonArray` models from scratch.
  JsonBuilderFactory | Factory to create `JsonObjectBuilder` and `JsonArrayBuilder` instances.
  JsonNumber | An immutable JSON number value.
  JsonObject | `JsonObject` class represents an immutable JSON object value (an unordered collection of zero or more name/value pairs).
  JsonObjectBuilder | A builder for creating `JsonObject` models from scratch.
  JsonReader | Reads a JSON `object` or an `array` structure from an input source.
  JsonReaderFactory | Factory to create `JsonReader` instances.
  JsonString | An immutable JSON string value.
  JsonStructure | Super type for the two structured types in JSON (`object`s and `array`s).
  JsonValue | `JsonValue` represents an immutable JSON value.
  JsonWriter | Writes a JSON `object` or `array` structure to an output source.
  JsonWriterFactory | Factory to create `JsonWriter` instances.

- Class Summary
  Class | Description
  --- | ---
  Json | Factory class for creating JSON processing objects.

- Enum Summary
  Enum | Description
  --- | ---
  JsonValue.ValueType | Indicates the type of a `JsonValue` object.

- Exception Summary
  Exception | Description
  --- | ---
  JsonException | `JsonException` indicates that some exception happened during JSON processing.

## Package javax.json 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 `JsonObject` and `JsonArray`. The interface `javax.json.JsonObject` provides a `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 these object models. The classes `JsonObjectBuilder` and `JsonArrayBuilder` provide methods to create models of type `JsonObject` and `JsonArray` respectively.

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 class `JsonWriter`.

Since:
  JSON Processing 1.0
Author:
  Jitendra Kotamraju

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.