Skip navigation links
B C E G H I J M N O P R S T U W 

B

buf() - Method in class org.openjax.json.JsonReader
Returns the char[] buffer of the underlying JsonReplayReader.

C

characters(char[], int, int) - Method in interface org.openjax.json.JsonHandler
Called when token characters are encountered.

E

endDocument() - Method in interface org.openjax.json.JsonHandler
Called when the document's end is encountered.
escape(String) - Static method in class org.openjax.json.JsonUtil
Escapes characters in the specified string that must be escaped as defined in RFC 4627, Section 2.5.

G

getEndPosition(int) - Method in class org.openjax.json.JsonReader
Returns the end position at index.
getErrorOffset() - Method in exception org.openjax.json.JsonParseException
Returns the position where the error was found.
getIndex() - Method in class org.openjax.json.JsonReader
Returns the index of the most recently read token.
getPosition() - Method in class org.openjax.json.JsonReader
Returns the buffer position of the most recently read char.
getStartPosition(int) - Method in class org.openjax.json.JsonReader
Returns the start position at index.

H

hasNext() - Method in class org.openjax.json.JsonReader
Returns true if the iteration has more tokens.

I

isStructural(int) - Static method in class org.openjax.json.JsonUtil
Tests whether ch is a structural char, which is one of:
isWhitespace(int) - Static method in class org.openjax.json.JsonUtil
Tests whether the specified int is JSON whitespace char, which is one of:
iterator() - Method in class org.openjax.json.JsonReader
Returns this JsonReader, since it is itself an implementation of the Iterator interface.

J

JSON - Class in org.openjax.json
Lightweight toString(...) functions for marshaling Map (JSON object) and List (JSON array) into JSON document representations.
JsonHandler - Interface in org.openjax.json
Handler interface used for parsing JSON with JsonParser.parse(JsonHandler).
JsonParseException - Exception in org.openjax.json
An exception signaling a violation of JSON document well-formed criteria as expressed by the RFC 4627 specification.
JsonParseException(String, int) - Constructor for exception org.openjax.json.JsonParseException
Constructs a JsonParseException with the specified detail message and offset.
JsonParser - Class in org.openjax.json
Parser for JSON documents that asserts content conforms to the RFC 4627 specification.
JsonParser(JsonReader) - Constructor for class org.openjax.json.JsonParser
Construct a new JsonParser for JSON content to be read from the reader parameter instance.
JsonReader - Class in org.openjax.json
Validating Reader for JSON streams that reads JSON tokens sequentially, while asserting the content conforms to the RFC 4627 specification.
JsonReader(Reader) - Constructor for class org.openjax.json.JsonReader
Construct a new JsonReader for JSON content to be read from the specified Reader, that ignores inter-token whitespace.
JsonReader(Reader, boolean) - Constructor for class org.openjax.json.JsonReader
Construct a new JsonReader for JSON content to be read from the specified Reader.
JsonUtil - Class in org.openjax.json
Utility functions for operations pertaining to JSON.

M

mark(int) - Method in class org.openjax.json.JsonReader
 

N

next() - Method in class org.openjax.json.JsonReader
Returns the next token in the iteration.

O

org.openjax.json - package org.openjax.json
 

P

parse(JsonHandler) - Method in class org.openjax.json.JsonParser
Parse the JSON document with the provided JsonHandler callback instance.
parseNumber(Class<T>, String) - Static method in class org.openjax.json.JsonUtil
Parses a number from the specified string by the rules defined in RFC 4627, Section 2.4.

R

read() - Method in class org.openjax.json.JsonReader
Reads a single character, and transparently unescapes string-literal unicode (" ") and two-character ("\n") escape codes into UTF-8 as defined in RFC 4627, Section 2.5.
read(char[], int, int) - Method in class org.openjax.json.JsonReader
Reads characters into a portion of an array, and transparently unescapes string-literal unicode (" ") and two-character ("\n") escape codes into UTF-8, as defined in RFC 4627, Section 2.5.
read(char[]) - Method in class org.openjax.json.JsonReader
Reads characters into an array, and transparently unescapes string-literal unicode (" ") and two-character ("\n") escape codes into UTF-8, as defined in RFC 4627, Section 2.5.
readToken() - Method in class org.openjax.json.JsonReader
Read the next JSON token.
readTokenStart() - Method in class org.openjax.json.JsonReader
Read until the end of the next token, and return the start index of the token that was just read.
reset() - Method in class org.openjax.json.JsonReader
 

S

setIndex(int) - Method in class org.openjax.json.JsonReader
Sets the token index of this reader, such that JsonReader.getIndex() returns the specified index.
setPosition(int) - Method in class org.openjax.json.JsonReader
Set the buffer to position p, such that a subsequent call to JsonReader.read() will return the char at p + 1.
size() - Method in class org.openjax.json.JsonReader
Returns the number of tokens read thus far.
startDocument() - Method in interface org.openjax.json.JsonHandler
Called when the document's start is encountered.
structural(char) - Method in interface org.openjax.json.JsonHandler
Called when a structural token is encountered.

T

toString(Map<String, ?>) - Static method in class org.openjax.json.JSON
Returns a JSON document encoding of the specified Map<String,?> representing a JSON object.
toString(Map<String, ?>, int) - Static method in class org.openjax.json.JSON
Returns a JSON document encoding of the specified Map<String,?> representing a JSON object.
toString(List<?>) - Static method in class org.openjax.json.JSON
Returns a JSON document encoding (with no indentation) of the specified List<?> representing a JSON array, or null if array is null.
toString(List<?>, int) - Static method in class org.openjax.json.JSON
Returns a JSON document encoding (with the specified indentation) of the specified List<?> representing a JSON array, or null if array is null.

U

unescape(String) - Static method in class org.openjax.json.JsonUtil
Unescapes string-literal unicode (" ") and two-character ("\n") escape codes into UTF-8 as defined in RFC 4627, Section 2.5.
unescapeForString(String) - Static method in class org.openjax.json.JsonUtil
Unescapes string-literal unicode (" ") and two-character ("\n") escape codes, except for the double quote ("\"") and reverse solidus ("\\"), into UTF-8 as defined in RFC 4627, Section 2.5.

W

whitespace(char[], int, int) - Method in interface org.openjax.json.JsonHandler
Called when whitespace characters are encountered.
B C E G H I J M N O P R S T U W 
Skip navigation links

Copyright © 2020 OpenJAX. All rights reserved.