Skip navigation links
A C E F G H I J L M N O P R S T U V W 

A

add(int) - Method in class com.eclipsesource.json.JsonArray
Appends the JSON representation of the specified int value to the end of this array.
add(long) - Method in class com.eclipsesource.json.JsonArray
Appends the JSON representation of the specified long value to the end of this array.
add(float) - Method in class com.eclipsesource.json.JsonArray
Appends the JSON representation of the specified float value to the end of this array.
add(double) - Method in class com.eclipsesource.json.JsonArray
Appends the JSON representation of the specified double value to the end of this array.
add(boolean) - Method in class com.eclipsesource.json.JsonArray
Appends the JSON representation of the specified boolean value to the end of this array.
add(String) - Method in class com.eclipsesource.json.JsonArray
Appends the JSON representation of the specified string to the end of this array.
add(JsonValue) - Method in class com.eclipsesource.json.JsonArray
Appends the specified JSON value to the end of this array.
add(String, int) - Method in class com.eclipsesource.json.JsonObject
Appends a new member to the end of this object, with the specified name and the JSON representation of the specified int value.
add(String, long) - Method in class com.eclipsesource.json.JsonObject
Appends a new member to the end of this object, with the specified name and the JSON representation of the specified long value.
add(String, float) - Method in class com.eclipsesource.json.JsonObject
Appends a new member to the end of this object, with the specified name and the JSON representation of the specified float value.
add(String, double) - Method in class com.eclipsesource.json.JsonObject
Appends a new member to the end of this object, with the specified name and the JSON representation of the specified double value.
add(String, boolean) - Method in class com.eclipsesource.json.JsonObject
Appends a new member to the end of this object, with the specified name and the JSON representation of the specified boolean value.
add(String, String) - Method in class com.eclipsesource.json.JsonObject
Appends a new member to the end of this object, with the specified name and the JSON representation of the specified string.
add(String, JsonValue) - Method in class com.eclipsesource.json.JsonObject
Appends a new member to the end of this object, with the specified name and the specified JSON value.
array() - Static method in class com.eclipsesource.json.Json
Creates a new empty JsonArray.
array(int...) - Static method in class com.eclipsesource.json.Json
Creates a new JsonArray that contains the JSON representations of the given int values.
array(long...) - Static method in class com.eclipsesource.json.Json
Creates a new JsonArray that contains the JSON representations of the given long values.
array(float...) - Static method in class com.eclipsesource.json.Json
Creates a new JsonArray that contains the JSON representations of the given float values.
array(double...) - Static method in class com.eclipsesource.json.Json
Creates a new JsonArray that contains the JSON representations of the given double values.
array(boolean...) - Static method in class com.eclipsesource.json.Json
Creates a new JsonArray that contains the JSON representations of the given boolean values.
array(String...) - Static method in class com.eclipsesource.json.Json
Creates a new JsonArray that contains the JSON representations of the given strings.
asArray() - Method in class com.eclipsesource.json.JsonArray
 
asArray() - Method in class com.eclipsesource.json.JsonValue
Returns this JSON value as JsonArray, assuming that this value represents a JSON array.
asBoolean() - Method in class com.eclipsesource.json.JsonValue
Returns this JSON value as a boolean value, assuming that this value is either true or false.
asDouble() - Method in class com.eclipsesource.json.JsonValue
Returns this JSON value as a double value, assuming that this value represents a JSON number.
asFloat() - Method in class com.eclipsesource.json.JsonValue
Returns this JSON value as a float value, assuming that this value represents a JSON number.
asInt() - Method in class com.eclipsesource.json.JsonValue
Returns this JSON value as an int value, assuming that this value represents a JSON number that can be interpreted as Java int.
asLong() - Method in class com.eclipsesource.json.JsonValue
Returns this JSON value as a long value, assuming that this value represents a JSON number that can be interpreted as Java long.
asObject() - Method in class com.eclipsesource.json.JsonObject
 
asObject() - Method in class com.eclipsesource.json.JsonValue
Returns this JSON value as JsonObject, assuming that this value represents a JSON object.
asString() - Method in class com.eclipsesource.json.JsonValue
Returns this JSON value as String, assuming that this value represents a JSON string.

C

column - Variable in class com.eclipsesource.json.Location
The column number, starting at 1.
com.eclipsesource.json - package com.eclipsesource.json
 
createWriter(Writer) - Method in class com.eclipsesource.json.PrettyPrint
 

E

endArray(A) - Method in class com.eclipsesource.json.JsonHandler
Indicates the end of an array in the JSON input.
endArrayValue(A) - Method in class com.eclipsesource.json.JsonHandler
Indicates the end of an array element in the JSON input.
endBoolean(boolean) - Method in class com.eclipsesource.json.JsonHandler
Indicates the end of a boolean literal (true or false) in the JSON input.
endNull() - Method in class com.eclipsesource.json.JsonHandler
Indicates the end of a null literal in the JSON input.
endNumber(String) - Method in class com.eclipsesource.json.JsonHandler
Indicates the end of a number in the JSON input.
endObject(O) - Method in class com.eclipsesource.json.JsonHandler
Indicates the end of an object in the JSON input.
endObjectName(O, String) - Method in class com.eclipsesource.json.JsonHandler
Indicates the end of an object member name in the JSON input.
endObjectValue(O, String) - Method in class com.eclipsesource.json.JsonHandler
Indicates the end of an object member value in the JSON input.
endString(String) - Method in class com.eclipsesource.json.JsonHandler
Indicates the end of a string in the JSON input.
equals(Object) - Method in class com.eclipsesource.json.JsonArray
Indicates whether a given object is "equal to" this JsonArray.
equals(Object) - Method in class com.eclipsesource.json.JsonObject
 
equals(Object) - Method in class com.eclipsesource.json.JsonObject.Member
Indicates whether a given object is "equal to" this JsonObject.
equals(Object) - Method in class com.eclipsesource.json.JsonValue
Indicates whether some other object is "equal to" this one according to the contract specified in Object.equals(Object).
equals(Object) - Method in class com.eclipsesource.json.Location
 

F

FALSE - Static variable in class com.eclipsesource.json.Json
Represents the JSON literal false.
FALSE - Static variable in class com.eclipsesource.json.JsonValue
Deprecated.
Use Json.FALSE instead

G

get(int) - Method in class com.eclipsesource.json.JsonArray
Returns the value of the element at the specified position in this array.
get(String) - Method in class com.eclipsesource.json.JsonObject
Returns the value of the member with the specified name in this object.
getBoolean(String, boolean) - Method in class com.eclipsesource.json.JsonObject
Returns the boolean value of the member with the specified name in this object.
getColumn() - Method in exception com.eclipsesource.json.ParseException
Deprecated.
getDouble(String, double) - Method in class com.eclipsesource.json.JsonObject
Returns the double value of the member with the specified name in this object.
getFloat(String, float) - Method in class com.eclipsesource.json.JsonObject
Returns the float value of the member with the specified name in this object.
getInt(String, int) - Method in class com.eclipsesource.json.JsonObject
Returns the int value of the member with the specified name in this object.
getLine() - Method in exception com.eclipsesource.json.ParseException
Deprecated.
getLocation() - Method in class com.eclipsesource.json.JsonHandler
Returns the current parser location.
getLocation() - Method in exception com.eclipsesource.json.ParseException
Returns the location at which the error occurred.
getLong(String, long) - Method in class com.eclipsesource.json.JsonObject
Returns the long value of the member with the specified name in this object.
getName() - Method in class com.eclipsesource.json.JsonObject.Member
Returns the name of this member.
getOffset() - Method in exception com.eclipsesource.json.ParseException
Deprecated.
getString(String, String) - Method in class com.eclipsesource.json.JsonObject
Returns the String value of the member with the specified name in this object.
getValue() - Method in class com.eclipsesource.json.JsonObject.Member
Returns the value of this member.

H

hashCode() - Method in class com.eclipsesource.json.JsonArray
 
hashCode() - Method in class com.eclipsesource.json.JsonObject
 
hashCode() - Method in class com.eclipsesource.json.JsonObject.Member
 
hashCode() - Method in class com.eclipsesource.json.JsonValue
 
hashCode() - Method in class com.eclipsesource.json.Location
 

I

indentWithSpaces(int) - Static method in class com.eclipsesource.json.PrettyPrint
Print every value on a separate line.
indentWithTabs() - Static method in class com.eclipsesource.json.PrettyPrint
Do not break lines, but still insert whitespace between values.
isArray() - Method in class com.eclipsesource.json.JsonArray
 
isArray() - Method in class com.eclipsesource.json.JsonValue
Detects whether this value represents a JSON array.
isBoolean() - Method in class com.eclipsesource.json.JsonValue
Detects whether this value represents a boolean value.
isEmpty() - Method in class com.eclipsesource.json.JsonArray
Returns true if this array contains no elements.
isEmpty() - Method in class com.eclipsesource.json.JsonObject
Returns true if this object contains no members.
isFalse() - Method in class com.eclipsesource.json.JsonValue
Detects whether this value represents the JSON literal false.
isNull() - Method in class com.eclipsesource.json.JsonValue
Detects whether this value represents the JSON literal null.
isNumber() - Method in class com.eclipsesource.json.JsonValue
Detects whether this value represents a JSON number.
isObject() - Method in class com.eclipsesource.json.JsonObject
 
isObject() - Method in class com.eclipsesource.json.JsonValue
Detects whether this value represents a JSON object.
isString() - Method in class com.eclipsesource.json.JsonValue
Detects whether this value represents a JSON string.
isTrue() - Method in class com.eclipsesource.json.JsonValue
Detects whether this value represents the JSON literal true.
iterator() - Method in class com.eclipsesource.json.JsonArray
Returns an iterator over the values of this array in document order.
iterator() - Method in class com.eclipsesource.json.JsonObject
Returns an iterator over the members of this object in document order.

J

Json - Class in com.eclipsesource.json
This class serves as the entry point to the minimal-json API.
JsonArray - Class in com.eclipsesource.json
Represents a JSON array, an ordered collection of JSON values.
JsonArray() - Constructor for class com.eclipsesource.json.JsonArray
Creates a new empty JsonArray.
JsonArray(JsonArray) - Constructor for class com.eclipsesource.json.JsonArray
Creates a new JsonArray with the contents of the specified JSON array.
JsonHandler<A,O> - Class in com.eclipsesource.json
A handler for parser events.
JsonHandler() - Constructor for class com.eclipsesource.json.JsonHandler
 
JsonObject - Class in com.eclipsesource.json
Represents a JSON object, a set of name/value pairs, where the names are strings and the values are JSON values.
JsonObject() - Constructor for class com.eclipsesource.json.JsonObject
Creates a new empty JsonObject.
JsonObject(JsonObject) - Constructor for class com.eclipsesource.json.JsonObject
Creates a new JsonObject, initialized with the contents of the specified JSON object.
JsonObject.Member - Class in com.eclipsesource.json
Represents a member of a JSON object, a pair of a name and a value.
JsonParser - Class in com.eclipsesource.json
A streaming parser for JSON text.
JsonParser(JsonHandler<?, ?>) - Constructor for class com.eclipsesource.json.JsonParser
Creates a new JsonParser with the given handler.
JsonValue - Class in com.eclipsesource.json
Represents a JSON value.

L

line - Variable in class com.eclipsesource.json.Location
The line number, starting at 1.
Location - Class in com.eclipsesource.json
An immutable object that represents a location in the parsed text.

M

merge(JsonObject) - Method in class com.eclipsesource.json.JsonObject
Copies all members of the specified object into this object.
MINIMAL - Static variable in class com.eclipsesource.json.WriterConfig
Write JSON in its minimal form, without any additional whitespace.

N

names() - Method in class com.eclipsesource.json.JsonObject
Returns a list of the names in this object in document order.
NULL - Static variable in class com.eclipsesource.json.Json
Represents the JSON literal null.
NULL - Static variable in class com.eclipsesource.json.JsonValue
Deprecated.
Use Json.NULL instead

O

object() - Static method in class com.eclipsesource.json.Json
Creates a new empty JsonObject.
offset - Variable in class com.eclipsesource.json.Location
The absolute character index, starting at 0.

P

parse(String) - Static method in class com.eclipsesource.json.Json
Parses the given input string as JSON.
parse(Reader) - Static method in class com.eclipsesource.json.Json
Reads the entire input from the given reader and parses it as JSON.
parse(String) - Method in class com.eclipsesource.json.JsonParser
Parses the given input string.
parse(Reader) - Method in class com.eclipsesource.json.JsonParser
Reads the entire input from the given reader and parses it as JSON.
parse(Reader, int) - Method in class com.eclipsesource.json.JsonParser
Reads the entire input from the given reader and parses it as JSON.
ParseException - Exception in com.eclipsesource.json
An unchecked exception to indicate that an input does not qualify as valid JSON.
PRETTY_PRINT - Static variable in class com.eclipsesource.json.WriterConfig
Write JSON in pretty-print, with each value on a separate line and an indentation of two spaces.
PrettyPrint - Class in com.eclipsesource.json
Enables human readable JSON output by inserting whitespace between values.after commas and colons.
PrettyPrint(char[]) - Constructor for class com.eclipsesource.json.PrettyPrint
 

R

readFrom(Reader) - Static method in class com.eclipsesource.json.JsonArray
Deprecated.
readFrom(String) - Static method in class com.eclipsesource.json.JsonArray
Deprecated.
readFrom(Reader) - Static method in class com.eclipsesource.json.JsonObject
Deprecated.
readFrom(String) - Static method in class com.eclipsesource.json.JsonObject
Deprecated.
readFrom(Reader) - Static method in class com.eclipsesource.json.JsonValue
Deprecated.
Use Json.parse(Reader) instead
readFrom(String) - Static method in class com.eclipsesource.json.JsonValue
Deprecated.
Use Json.parse(String) instead
remove(int) - Method in class com.eclipsesource.json.JsonArray
Removes the element at the specified index from this array.
remove(String) - Method in class com.eclipsesource.json.JsonObject
Removes a member with the specified name from this object.

S

set(int, int) - Method in class com.eclipsesource.json.JsonArray
Replaces the element at the specified position in this array with the JSON representation of the specified int value.
set(int, long) - Method in class com.eclipsesource.json.JsonArray
Replaces the element at the specified position in this array with the JSON representation of the specified long value.
set(int, float) - Method in class com.eclipsesource.json.JsonArray
Replaces the element at the specified position in this array with the JSON representation of the specified float value.
set(int, double) - Method in class com.eclipsesource.json.JsonArray
Replaces the element at the specified position in this array with the JSON representation of the specified double value.
set(int, boolean) - Method in class com.eclipsesource.json.JsonArray
Replaces the element at the specified position in this array with the JSON representation of the specified boolean value.
set(int, String) - Method in class com.eclipsesource.json.JsonArray
Replaces the element at the specified position in this array with the JSON representation of the specified string.
set(int, JsonValue) - Method in class com.eclipsesource.json.JsonArray
Replaces the element at the specified position in this array with the specified JSON value.
set(String, int) - Method in class com.eclipsesource.json.JsonObject
Sets the value of the member with the specified name to the JSON representation of the specified int value.
set(String, long) - Method in class com.eclipsesource.json.JsonObject
Sets the value of the member with the specified name to the JSON representation of the specified long value.
set(String, float) - Method in class com.eclipsesource.json.JsonObject
Sets the value of the member with the specified name to the JSON representation of the specified float value.
set(String, double) - Method in class com.eclipsesource.json.JsonObject
Sets the value of the member with the specified name to the JSON representation of the specified double value.
set(String, boolean) - Method in class com.eclipsesource.json.JsonObject
Sets the value of the member with the specified name to the JSON representation of the specified boolean value.
set(String, String) - Method in class com.eclipsesource.json.JsonObject
Sets the value of the member with the specified name to the JSON representation of the specified string.
set(String, JsonValue) - Method in class com.eclipsesource.json.JsonObject
Sets the value of the member with the specified name to the specified JSON value.
singleLine() - Static method in class com.eclipsesource.json.PrettyPrint
Print every value on a separate line.
size() - Method in class com.eclipsesource.json.JsonArray
Returns the number of elements in this array.
size() - Method in class com.eclipsesource.json.JsonObject
Returns the number of members (name/value pairs) in this object.
startArray() - Method in class com.eclipsesource.json.JsonHandler
Indicates the beginning of an array in the JSON input.
startArrayValue(A) - Method in class com.eclipsesource.json.JsonHandler
Indicates the beginning of an array element in the JSON input.
startBoolean() - Method in class com.eclipsesource.json.JsonHandler
Indicates the beginning of a boolean literal (true or false) in the JSON input.
startNull() - Method in class com.eclipsesource.json.JsonHandler
Indicates the beginning of a null literal in the JSON input.
startNumber() - Method in class com.eclipsesource.json.JsonHandler
Indicates the beginning of a number in the JSON input.
startObject() - Method in class com.eclipsesource.json.JsonHandler
Indicates the beginning of an object in the JSON input.
startObjectName(O) - Method in class com.eclipsesource.json.JsonHandler
Indicates the beginning of the name of an object member in the JSON input.
startObjectValue(O, String) - Method in class com.eclipsesource.json.JsonHandler
Indicates the beginning of the name of an object member in the JSON input.
startString() - Method in class com.eclipsesource.json.JsonHandler
Indicates the beginning of a string in the JSON input.

T

toString() - Method in class com.eclipsesource.json.JsonValue
Returns the JSON string for this value in its minimal form, without any additional whitespace.
toString(WriterConfig) - Method in class com.eclipsesource.json.JsonValue
Returns the JSON string for this value using the given formatting.
toString() - Method in class com.eclipsesource.json.Location
 
TRUE - Static variable in class com.eclipsesource.json.Json
Represents the JSON literal true.
TRUE - Static variable in class com.eclipsesource.json.JsonValue
Deprecated.
Use Json.TRUE instead

U

unmodifiableArray(JsonArray) - Static method in class com.eclipsesource.json.JsonArray
Returns an unmodifiable wrapper for the specified JsonArray.
unmodifiableObject(JsonObject) - Static method in class com.eclipsesource.json.JsonObject
Returns an unmodifiable JsonObject for the specified one.

V

value(int) - Static method in class com.eclipsesource.json.Json
Returns a JsonValue instance that represents the given int value.
value(long) - Static method in class com.eclipsesource.json.Json
Returns a JsonValue instance that represents the given long value.
value(float) - Static method in class com.eclipsesource.json.Json
Returns a JsonValue instance that represents the given float value.
value(double) - Static method in class com.eclipsesource.json.Json
Returns a JsonValue instance that represents the given double value.
value(String) - Static method in class com.eclipsesource.json.Json
Returns a JsonValue instance that represents the given string.
value(boolean) - Static method in class com.eclipsesource.json.Json
Returns a JsonValue instance that represents the given boolean value.
valueOf(int) - Static method in class com.eclipsesource.json.JsonValue
Deprecated.
Use Json.value() instead
valueOf(long) - Static method in class com.eclipsesource.json.JsonValue
Deprecated.
Use Json.value() instead
valueOf(float) - Static method in class com.eclipsesource.json.JsonValue
Deprecated.
Use Json.value() instead
valueOf(double) - Static method in class com.eclipsesource.json.JsonValue
Deprecated.
Use Json.value() instead
valueOf(String) - Static method in class com.eclipsesource.json.JsonValue
Deprecated.
Use Json.value() instead
valueOf(boolean) - Static method in class com.eclipsesource.json.JsonValue
Deprecated.
Use Json.value() instead
values() - Method in class com.eclipsesource.json.JsonArray
Returns a list of the values in this array in document order.

W

WriterConfig - Class in com.eclipsesource.json
Controls the formatting of the JSON output.
WriterConfig() - Constructor for class com.eclipsesource.json.WriterConfig
 
writeTo(Writer) - Method in class com.eclipsesource.json.JsonValue
Writes the JSON representation of this value to the given writer in its minimal form, without any additional whitespace.
writeTo(Writer, WriterConfig) - Method in class com.eclipsesource.json.JsonValue
Writes the JSON representation of this value to the given writer using the given formatting.
A C E F G H I J L M N O P R S T U V W 
Skip navigation links

Copyright © 2017. All rights reserved.