Package com.leastfixedpoint.json
package com.leastfixedpoint.json
A package for JSON reading and writing for Java. It offers:
- construction of natural Java representations of JSON values (see class comment for
JSONReader
) - optional indented printing of JSON values (see
JSONWriter
) - reading of sequential/adjacent/concatenated JSON values from a file or stream (e.g. a
Socket
) - both DOM-style (
JSONReader
) and SAX-style (JSONEventReader
) parsing of JSON input - a helper class,
JSONValue
, for interrogating and manipulating representations of JSON values
-
ClassDescriptionSignalled by JSONReader and JSONWriter on various kinds of formatting errors, be they errors in JSON text or errors in some Java object graph being serialized.SAX-style event-emitting JSON parser.Signalled to indicate access to a missing (but required) position in a JSON array.Signalled to indicate access to a missing (but required) element of a JSON dictionary.Quasi-singleton; represents JSON null values.Parse JSON text to Java values.Most JSON tokens are self-representing; the remainder are represented with instances of Lexeme.Signalled to indicate a problem with the structure of a value not being as expected.Interface for classes that wish to control their own serialization.Describes some portion of a Java object graph that cannot be serialized to JSON.Signalled during JSONReader operation to indicate problems with the input JSON text.Signalled to indicate a violation of a type constraint.Helper class for concise traversal and construction of JSON values in the representation used by
JSONReader
andJSONWriter
.JSONWriter<W extends Writer>Writes certain Java objects as JSON to a Writer.