| Interface | Description |
|---|---|
| JSONString |
The
JSONString interface allows a toJSONString()
method so that a class can change the behavior of
JSONObject.toString(), JSONArray.toString(),
and JSONWriter.value(Object). |
| SchemaLibrary |
A SchemaLibrary maintains a collection of schemas which can be recalled by name.
|
| TemplatizedMessage |
This interface allows for common handling of objects that represent a
message that has a template and parameters to be substituted.
|
| Class | Description |
|---|---|
| ClusterJSONFile | Deprecated
use LockableJSONFile instead
|
| Dom2JSON |
This class contains routines to convert a standard XML DOM
into a JSON structure.
|
| FileSchemaLibrary |
Given a file folder, when asked for a schema XYZ
this class will read a file 'Schema-XYZ.json' and
return the JSONObject to the caller.
|
| JSONArray |
A JSONArray is an ordered sequence of values.
|
| JSONDelta |
The purpose of this class is to produce a "DELTA" comparison of two JSON
files.
|
| JSONDiff |
The purpose of this class is to produce a "DIFF" comparison of two JSON
files.
|
| JSONFormatter |
The purpose of this class is to provide a command line that will
read a JSON file, clean it up, and write it out again in canonical
form.
|
| JSONObject |
A JSONObject is an collection of name/value pairs.
|
| JSONSchema |
The JSONSChema class has a static method for creating a schema object, and
can be instantiated to perform schema validations.
|
| JSONTokener |
A JSONTokener takes a source stream and parses it for the JSONObject / JSONArray.
|
| JSONWriter |
JSONWriter provides a quick and convenient way of producing JSON text.
|
| LockableJSONFile |
For use when you have a file being shared across a cluster of servers in order to assure
that only one node of the cluster has access to the file at a time.
|
| Exception | Description |
|---|---|
| JSONException |
JSONException is mainly a class that has a few helpful methods for handling
exceptions, such as:
to get the full message of a chain of exceptions,
to test if a particular message is anywhere in a chain,
to convert an exception to JSON in a standard way
to trace an exception to the output stream in a standard way.
|