# Package org.apache.tapestry5.json

package org.apache.tapestry5.json
Repackaged, improved (and tested) version of code originally https://github.com/tdunning/open-json Starting in release 5.4, `JSONObject` and `JSONArray` are serializable.

- Related Packages
  Package
  Description
  org.apache.tapestry5
  Root package for Tapestry, containing common interfaces and data types used throughout the framework.
  org.apache.tapestry5.json.exceptions
  org.apache.tapestry5.json.modules
  Optional module that allows JSON objects to be used with the `TypeCoercer` service, when the tapestry-ioc module is present.
- Class
  Description
  JSONArray
  A dense indexed sequence of values.
  JSONCollection
  Base class for `JSONArray` and `JSONObject` that exists to organize the code for printing such objects (either compact or pretty).
  JSONCollectors
  Implementations of `Collector` that implement reductions to `JSONArray` and to `JSONObject`.
  JSONLiteral
  A way of including some text (often, text that violates the normal JSON specification) as part of a JSON object or array.
  JSONObject
  A modifiable set of name/value mappings.
  JSONString
  An interface that allows an object to be stored as a `JSONObject` or `JSONArray` value.
  JSONType
  Represents the different data types supported by JSON.