Index

Array

Represents a JSON Array

ArrayEndEvent

The end of a JSON array, emitted when ] is parsed.

ArrayStartEvent

The start of a JSON array, emitted when [ is parsed.

Builder

A Visitor that constructs a Value.

Emitter

A Visitor which emits formatted JSON to the Emitter.print() method.

Event

An event encountered when processing JSON data

InvalidTypeException

Represents the failure of a type conversion.
An instance is typically thrown as a result of trying to get and convert an

JsonArray

Alternative name for Array which avoids collision with ceylon.language::Array.

JsonObject

Alternative name for Object which avoids collision with ceylon.language::Object.

KeyEvent

A key encountered when processing JSON data

LookAhead

A look-ahead buffer wrapping a stream

NestingEvent

An Event that has a corresponding other event

Object

Represents a JSON Object

ObjectEndEvent

The end of a JSON object/hash, emitted when } is parsed.

ObjectStartEvent

The start of a JSON object/hash, emitted when { is parsed.

ObjectValue

A JSON value, a String, Boolean, Integer, Float, JSON Object, or JSON Array.

ParseException

An Exception throw during parse errors

Parser

A parser for JSON data presented as a Tokenizer which calls
the given visitor for each matched rule.

Positioned

Contract for stateful iterators, tokenizers etc which have the concept of a 'current position'.

Printer

A JSON Printer

StreamParser

A parser for JSON data as specified by RFC 7159 which produces a stream of Event to be handled by the caller. T

StreamingVisitor

Produces a stream of events from the descendents of the given root value.

StringEmitter

A JSON Emitter that prints to a String.

StringParser

A parser for JSON data presented as a String which calls
the given visitor for each matched rule.

StringPrinter

A JSON Printer that prints to a String.

StringTokenizer

An implementation of Tokenizer using a String

Tokenizer

Contract for a tokenizer

Value

A JSON value, a String, Boolean, Integer, Float, JSON Object, JSON Array, or Null.

Visitor

Callable interface used when traversing JSON data.

arrayEnd

The end of the current array encountered when processing JSON data

arrayStart

The start of an array encountered when processing JSON data

objectEnd

The end of the current object encountered when processing JSON data

objectStart

The start of an object encountered when processing JSON data

parse()

Parses a JSON string into a JSON value

parseFalse()

Parse false, consuming any initial whitespace

parseKeyOrString()

Parse a String literal, consuming any initial whitespace

parseNull()

Parse null, consuming any initial whitespace

parseNumber()

Parse a number, consuming any initial whitepsace.

parseTrue()

Parse true, consuming any initial whitespace

streamToVisitor()

Calls a visitor according to the events obtained from a stream.

visit()

Recursively visit the given subject using the given visitor. I