api / tv.twelvetone.json

Package tv.twelvetone.json

Types

Json

object Json

This class serves as the entry point to the minimal-json API.

JsonArray

class JsonArray : JsonValue, MutableIterable<JsonValue>

Represents a JSON array, an ordered collection of JSON values.

JsonHandler

abstract class JsonHandler<A, O>

A handler for parser events. Instances of this class can be given to a JsonParser. The parser will then call the methods of the given handler while reading the input.

JsonObject

class JsonObject : JsonValue, Iterable<Member>

Represents a JSON object, a set of name/value pairs, where the names are strings and the values are JSON values.

JsonValue

abstract class JsonValue

Represents a JSON value. This can be a JSON object, an array, a number, a string, or one of the literals true, false, and null.

JsonWriter

open class JsonWriter

Location

class Location

An immutable object that represents a location in the parsed text.

WriterConfig

abstract class WriterConfig

Controls the formatting of the JSON output. Use one of the available constants.

Exceptions

ParseException

class ParseException : Throwable

An unchecked exception to indicate that an input does not qualify as valid JSON.