Package org. availlang. json
Types
JSONData is the superclass of JSONValue, JSONNumber, JSONArray, and JSONObject. A readsJSONReader.read a single JSONData.
A JSONReader throws a JSONException if anything goes wrong during the reading of a JSON document.
A class can implement JSONFriendly to enable JSON serialization of its instances.
A JSONIOException is an unchecked that wraps an IOException.
A JSONNumber is a JSON number. It provides convenience methods for extracting numeric values in different formats.
A JSONObject is produced by a JSONReader when an object is read. Each key of the object is a String and each value is a JSONData.
A JSONReader produces JSON-friendly value given a valid JSON document.
An IllegalStateException thrown by a JSONWriter if an attempt is made to write content that doesn't align with the currently expected JSONWriter.JSONState.
A JSONValue is an arbitrary JSON value. JSONValues are produced by a JSONReader.
A stateful JSON writer that produces ASCII-only documents that adhere strictly to ECMA 404: "The JSON Data Interchange Format".
A JSONException thrown by JSONReader if an invalid construct is encountered during the parsing of a JSON document.
Functions
Answer a JSONObject that has had the provided objectAction applied to it.
Answer a pretty-print JSONWriter that has had the provided writerAction applied to it.
Answer a JSONReader that has had the provided readerAction applied to it.
Answer a JSONWriter that has had the provided writerAction applied to it.