Package uk.blankaspect.common.json
package uk.blankaspect.common.json
This package provides a parser and a generator for JavaScript Object Notation (JSON).
The parser transforms text that conforms to the JSON grammar into a tree whose nodes are instances of AbstractNode
.
The generator performs the reverse operation, transforming a tree of AbstractNode
s into JSON text, with some control over the formatting of the output.
This package depends on the following packages:
uk.blankaspect.common.basictree
uk.blankaspect.common.tree
-
ClassDescriptionThis interface defines constants that relate to JSON.This class implements a generator that transforms a tree of values that are represented by nodes into JSON text.This class implements a builder for a JSON generator.This class implements a parser that transforms JSON text into either a tree of nodes or a tree of XML elements:This class implements a builder for a JSON parser.This class implements an exception that is thrown if an error occurs when parsing JSON text.This class implements a buffer for JSON text.This record encapsulates a subsequence of the text of a
JsonText.Line
that is associated with a JSON token.This is an enumeration of the tokens that may be associated with elements of JSON text.This class contains utility methods that relate to JSON.This is an enumeration of the circumstances in which a new line is written before the opening bracket of a JSON array or the opening brace of a JSON object.This is an enumeration of the ways in which a JSON generator can write whitespace between the tokens of the JSON text.