A B C D E F G H I J K L M N O P R S T U V W 

A

AbstractValidator - Class in org.djodjo.json
 
AbstractValidator() - Constructor for class org.djodjo.json.AbstractValidator
 
accumulate(String, Object) - Method in class org.djodjo.json.JsonObject
Appends value to the array already mapped to name.
add(int, JsonElement) - Method in class org.djodjo.json.JsonArray
 
add(JsonElement) - Method in class org.djodjo.json.JsonArray
 
addAll(Collection<? extends JsonElement>) - Method in class org.djodjo.json.JsonArray
 
addAll(int, Collection<? extends JsonElement>) - Method in class org.djodjo.json.JsonArray
 
advance() - Method in class org.djodjo.json.JsonReader
Advances the cursor in the Util stream to the next token.
append(String, Object) - Method in class org.djodjo.json.JsonObject
Appends values to the array mapped to name.
asBoolean() - Method in class org.djodjo.json.JsonBoolean
 
asBoolean() - Method in class org.djodjo.json.JsonElement
 
asByte() - Method in class org.djodjo.json.JsonElement
 
asByte() - Method in class org.djodjo.json.JsonNumber
 
asDouble() - Method in class org.djodjo.json.JsonElement
 
asDouble() - Method in class org.djodjo.json.JsonNumber
 
asFloat() - Method in class org.djodjo.json.JsonElement
 
asFloat() - Method in class org.djodjo.json.JsonNumber
 
asInt() - Method in class org.djodjo.json.JsonElement
 
asInt() - Method in class org.djodjo.json.JsonNumber
 
asJsonArray() - Method in class org.djodjo.json.JsonArray
 
asJsonArray() - Method in class org.djodjo.json.JsonElement
 
asJsonObject() - Method in class org.djodjo.json.JsonElement
 
asJsonObject() - Method in class org.djodjo.json.JsonObject
 
asLong() - Method in class org.djodjo.json.JsonElement
 
asLong() - Method in class org.djodjo.json.JsonNumber
 
asString() - Method in class org.djodjo.json.JsonElement
 
asString() - Method in class org.djodjo.json.JsonString
 

B

beginArray() - Method in class org.djodjo.json.JsonReader
Consumes the next token from the Util stream and asserts that it is the beginning of a new array.
beginArray() - Method in class org.djodjo.json.JsonWriter
Begins encoding a new array.
beginObject() - Method in class org.djodjo.json.JsonReader
Consumes the next token from the Util stream and asserts that it is the beginning of a new object.
beginObject() - Method in class org.djodjo.json.JsonWriter
Begins encoding a new object.

C

checkIfFrozen() - Method in class org.djodjo.json.JsonArray
 
checkIfFrozen() - Method in class org.djodjo.json.JsonObject
 
clear() - Method in class org.djodjo.json.JsonArray
 
clear() - Method in class org.djodjo.json.JsonObject
 
clear() - Method in class org.djodjo.json.util.LinkedTreeMap
 
cloneAsThawed() - Method in class org.djodjo.json.JsonArray
 
cloneAsThawed() - Method in class org.djodjo.json.JsonObject
 
cloneAsThawed() - Method in interface org.djodjo.json.util.Freezable
Provides for the clone operation.
close() - Method in class org.djodjo.json.JsonReader
Closes this Util reader and the underlying Reader.
close() - Method in class org.djodjo.json.JsonWriter
Flushes and closes this writer and the underlying Writer.
contains(Object) - Method in class org.djodjo.json.JsonArray
 
containsAll(Collection<?>) - Method in class org.djodjo.json.JsonArray
 
containsKey(Object) - Method in class org.djodjo.json.util.LinkedTreeMap
 

D

doValidate(JsonElement, StringBuilder) - Method in class org.djodjo.json.AbstractValidator
 

E

ElementWrapper - Interface in org.djodjo.json
 
endArray() - Method in class org.djodjo.json.JsonReader
Consumes the next token from the Util stream and asserts that it is the end of the current array.
endArray() - Method in class org.djodjo.json.JsonWriter
Ends encoding the current array.
endObject() - Method in class org.djodjo.json.JsonReader
Consumes the next token from the Util stream and asserts that it is the end of the current array.
endObject() - Method in class org.djodjo.json.JsonWriter
Ends encoding the current object.
entrySet() - Method in class org.djodjo.json.util.LinkedTreeMap
 
equals(Object) - Method in class org.djodjo.json.JsonArray
 
equals(Object) - Method in class org.djodjo.json.JsonBoolean
 
equals(Object) - Method in class org.djodjo.json.JsonElement
 
equals(Object) - Method in class org.djodjo.json.JsonNull
 
equals(Object) - Method in class org.djodjo.json.JsonNumber
 
equals(Object) - Method in class org.djodjo.json.JsonObject
 
equals(Object) - Method in class org.djodjo.json.JsonString
 

F

flush() - Method in class org.djodjo.json.JsonWriter
Ensures all buffered data is written to the underlying Writer and flushes that writer.
Freezable<T> - Interface in org.djodjo.json.util
Provides a flexible mechanism for controlling access, without requiring that a class be immutable.
freeze() - Method in class org.djodjo.json.JsonArray
 
freeze() - Method in class org.djodjo.json.JsonObject
 
freeze() - Method in interface org.djodjo.json.util.Freezable
Freezes the object.

G

get(int) - Method in class org.djodjo.json.JsonArray
Returns the value at index.
get(String) - Method in class org.djodjo.json.JsonObject
Returns the value mapped by name, or throws if no such mapping exists.
get(Object) - Method in class org.djodjo.json.util.LinkedTreeMap
 
get(char[], int, int) - Method in class org.djodjo.json.util.StringPool
Returns a string equal to new String(array, start, length).
getBoolean(int, boolean) - Method in class org.djodjo.json.JsonArray
Returns the value at index if it exists and is a boolean or can be coerced to a boolean.
getBoolean(int) - Method in class org.djodjo.json.JsonArray
 
getBoolean(String, boolean) - Method in class org.djodjo.json.JsonObject
Returns the value mapped by name if it exists and is a boolean or can be coerced to a boolean, or throws otherwise.
getBoolean(String) - Method in class org.djodjo.json.JsonObject
Returns the value mapped by name if it exists and is a boolean or can be coerced to a boolean, or throws otherwise.
getDouble(int, boolean) - Method in class org.djodjo.json.JsonArray
Returns the value at index if it exists and is a double or can be coerced to a double.
getDouble(int) - Method in class org.djodjo.json.JsonArray
 
getDouble(String, boolean) - Method in class org.djodjo.json.JsonObject
Returns the value mapped by name if it exists and is a double or can be coerced to a double, or throws otherwise.
getDouble(String) - Method in class org.djodjo.json.JsonObject
 
getInt(int) - Method in class org.djodjo.json.JsonArray
Returns the value at index if it exists and is an int or can be coerced to an int.
getInt(int, boolean) - Method in class org.djodjo.json.JsonArray
Returns the value at index if it exists and is an int or can be coerced to an int.
getInt(String, boolean) - Method in class org.djodjo.json.JsonObject
Returns the value mapped by name if it exists and is an int or can be coerced to an int, or throws otherwise.
getInt(String) - Method in class org.djodjo.json.JsonObject
 
getJson() - Method in interface org.djodjo.json.ElementWrapper
 
getJsonArray(int) - Method in class org.djodjo.json.JsonArray
Returns the value at index if it exists and is a JsonArray.
getJsonArray(String) - Method in class org.djodjo.json.JsonObject
Returns the value mapped by name if it exists and is a JsonArray, or throws otherwise.
getJsonObject(int) - Method in class org.djodjo.json.JsonArray
Returns the value at index if it exists and is a JsonObject.
getJsonObject(String) - Method in class org.djodjo.json.JsonObject
Returns the value mapped by name if it exists and is a JsonObject, or throws otherwise.
getJsonType() - Method in class org.djodjo.json.JsonArray
 
getJsonType() - Method in class org.djodjo.json.JsonBoolean
 
getJsonType() - Method in class org.djodjo.json.JsonElement
 
getJsonType() - Method in class org.djodjo.json.JsonNull
 
getJsonType() - Method in class org.djodjo.json.JsonNumber
 
getJsonType() - Method in class org.djodjo.json.JsonObject
 
getJsonType() - Method in class org.djodjo.json.JsonString
 
getLong(int, boolean) - Method in class org.djodjo.json.JsonArray
Returns the value at index if it exists and is a long or can be coerced to a long.
getLong(int) - Method in class org.djodjo.json.JsonArray
 
getLong(String, boolean) - Method in class org.djodjo.json.JsonObject
Returns the value mapped by name if it exists and is a long or can be coerced to a long, or throws otherwise.
getLong(String) - Method in class org.djodjo.json.JsonObject
 
getString(int, boolean) - Method in class org.djodjo.json.JsonArray
Returns the value at index if it exists, coercing it if necessary.
getString(int) - Method in class org.djodjo.json.JsonArray
 
getString(String, boolean) - Method in class org.djodjo.json.JsonObject
Returns the value mapped by name if it exists, coercing it if necessary, or throws if no such mapping exists.
getString(String) - Method in class org.djodjo.json.JsonObject
 
getTitle() - Method in class org.djodjo.json.AbstractValidator
 
getTitle() - Method in interface org.djodjo.json.Validator
 

H

has(String) - Method in class org.djodjo.json.JsonObject
Returns true if this object has a mapping for name.
hashCode() - Method in class org.djodjo.json.JsonArray
 
hashCode() - Method in class org.djodjo.json.JsonBoolean
 
hashCode() - Method in class org.djodjo.json.JsonElement
 
hashCode() - Method in class org.djodjo.json.JsonNull
 
hashCode() - Method in class org.djodjo.json.JsonNumber
 
hashCode() - Method in class org.djodjo.json.JsonString
 
hasNext() - Method in class org.djodjo.json.JsonReader
Returns true if the current array or object has another element.

I

indexOf(Object) - Method in class org.djodjo.json.JsonArray
 
isBoolean() - Method in class org.djodjo.json.JsonBoolean
 
isBoolean() - Method in class org.djodjo.json.JsonElement
 
isEmpty() - Method in class org.djodjo.json.JsonArray
 
isFrozen() - Method in class org.djodjo.json.JsonArray
 
isFrozen() - Method in class org.djodjo.json.JsonObject
 
isFrozen() - Method in interface org.djodjo.json.util.Freezable
Determines whether the object has been frozen or not.
isJsonArray() - Method in class org.djodjo.json.JsonArray
 
isJsonArray() - Method in class org.djodjo.json.JsonElement
 
isJsonObject() - Method in class org.djodjo.json.JsonElement
 
isJsonObject() - Method in class org.djodjo.json.JsonObject
 
isLenient() - Method in class org.djodjo.json.JsonReader
Returns true if this parser is liberal in what it accepts.
isLenient() - Method in class org.djodjo.json.JsonWriter
Returns true if this writer has relaxed syntax rules.
isNull(int) - Method in class org.djodjo.json.JsonArray
Returns true if this array has no value at index, or if its value is the null reference .
isNull() - Method in class org.djodjo.json.JsonElement
 
isNull() - Method in class org.djodjo.json.JsonNull
 
isNull(String) - Method in class org.djodjo.json.JsonObject
Returns true if this object has no mapping for name or if it has a mapping whose value is JsonNull.
isNumber() - Method in class org.djodjo.json.JsonElement
 
isNumber() - Method in class org.djodjo.json.JsonNumber
 
isOnlyArrays() - Method in class org.djodjo.json.JsonArray
 
isOnlyBooleans() - Method in class org.djodjo.json.JsonArray
 
isOnlyNumbers() - Method in class org.djodjo.json.JsonArray
 
isOnlyObjects() - Method in class org.djodjo.json.JsonArray
 
isOnlyStrings() - Method in class org.djodjo.json.JsonArray
 
isString() - Method in class org.djodjo.json.JsonElement
 
isString() - Method in class org.djodjo.json.JsonString
 
isValid(JsonElement) - Method in class org.djodjo.json.AbstractValidator
 
isValid(JsonElement) - Method in interface org.djodjo.json.Validator
Fast check is JsonElement is valid
iterator() - Method in class org.djodjo.json.JsonArray
 
iterator() - Method in class org.djodjo.json.JsonObject
 

J

JsonArray - Class in org.djodjo.json
A dense indexed sequence of values.
JsonArray() - Constructor for class org.djodjo.json.JsonArray
Creates a JsonArray with no values.
JsonArray(Collection) - Constructor for class org.djodjo.json.JsonArray
Creates a new JsonArray by copying all values from the given collection.
JsonArray(Object) - Constructor for class org.djodjo.json.JsonArray
Creates a new JsonArray with values from the given primitive array.
JsonBoolean - Class in org.djodjo.json
 
JsonBoolean(boolean) - Constructor for class org.djodjo.json.JsonBoolean
 
JsonElement - Class in org.djodjo.json
 
JsonElement() - Constructor for class org.djodjo.json.JsonElement
 
JsonException - Exception in org.djodjo.json.exception
Thrown to indicate a problems such as: Use of null as a name Use of numeric types not available, such as NaNs or infinities.
JsonException(String) - Constructor for exception org.djodjo.json.exception.JsonException
 
JsonException(String, Exception) - Constructor for exception org.djodjo.json.exception.JsonException
 
JsonNull - Class in org.djodjo.json
 
JsonNull() - Constructor for class org.djodjo.json.JsonNull
 
JsonNumber - Class in org.djodjo.json
 
JsonNumber(String) - Constructor for class org.djodjo.json.JsonNumber
 
JsonNumber(Number) - Constructor for class org.djodjo.json.JsonNumber
 
JsonObject - Class in org.djodjo.json
A modifiable set of name/value mappings.
JsonObject() - Constructor for class org.djodjo.json.JsonObject
Creates a JsonObject with no name/value mappings.
JsonObject(Map) - Constructor for class org.djodjo.json.JsonObject
Creates a new JSONObject by copying all name/value mappings from the given map.
JsonReader - Class in org.djodjo.json
Reads a Util (RFC 4627) encoded value as a stream of tokens.
JsonReader(Reader) - Constructor for class org.djodjo.json.JsonReader
Creates a new instance that reads a Util-encoded stream from in.
JsonString - Class in org.djodjo.json
 
JsonString(String) - Constructor for class org.djodjo.json.JsonString
 
JsonToken - Enum in org.djodjo.json
A structure, name or value type in a Util-encoded string.
JsonTypeSyntaxException - Exception in org.djodjo.json.exception
 
JsonTypeSyntaxException(String) - Constructor for exception org.djodjo.json.exception.JsonTypeSyntaxException
 
JsonTypeSyntaxException(String, Throwable) - Constructor for exception org.djodjo.json.exception.JsonTypeSyntaxException
 
JsonTypeSyntaxException(Throwable) - Constructor for exception org.djodjo.json.exception.JsonTypeSyntaxException
 
JsonWriter - Class in org.djodjo.json
Writes a JSON (RFC 4627) encoded value to a stream, one token at a time.
JsonWriter(Writer) - Constructor for class org.djodjo.json.JsonWriter
Creates a new instance that writes a JSON-encoded stream to out.

K

keys() - Method in class org.djodjo.json.JsonObject
Returns an iterator of the String names in this object.
keySet() - Method in class org.djodjo.json.JsonObject
Returns the set of String names in this object.
keySet() - Method in class org.djodjo.json.util.LinkedTreeMap
 

L

lastIndexOf(Object) - Method in class org.djodjo.json.JsonArray
 
length() - Method in class org.djodjo.json.JsonArray
Returns the number of values in this array.
length() - Method in class org.djodjo.json.JsonObject
Returns the number of name/value mappings in this object.
LinkedTreeMap<K,V> - Class in org.djodjo.json.util
A map of comparable keys to values.
LinkedTreeMap() - Constructor for class org.djodjo.json.util.LinkedTreeMap
Create a natural order, empty tree map whose keys must be mutually comparable and non-null.
LinkedTreeMap(Comparator<? super K>) - Constructor for class org.djodjo.json.util.LinkedTreeMap
Create a tree map ordered by comparator.
listIterator() - Method in class org.djodjo.json.JsonArray
 
listIterator(int) - Method in class org.djodjo.json.JsonArray
 

M

MalformedJsonException - Exception in org.djodjo.json.exception
Thrown when a reader encounters malformed Util.
MalformedJsonException(String) - Constructor for exception org.djodjo.json.exception.MalformedJsonException
 
MalformedJsonException(String, Throwable) - Constructor for exception org.djodjo.json.exception.MalformedJsonException
Creates exception with the specified message and cause.
MalformedJsonException(Throwable) - Constructor for exception org.djodjo.json.exception.MalformedJsonException
Creates exception with the specified cause.
merge(JsonObject) - Method in class org.djodjo.json.JsonObject
Merge Json Object with another Json Object.

N

name(String) - Method in class org.djodjo.json.JsonWriter
Encodes the property name.
names() - Method in class org.djodjo.json.JsonObject
Returns an array containing the string names in this object.
nextBoolean() - Method in class org.djodjo.json.JsonReader
Returns the boolean value of the next token, consuming it.
nextDouble() - Method in class org.djodjo.json.JsonReader
Returns the double value of the next token, consuming it.
nextInt() - Method in class org.djodjo.json.JsonReader
Returns the int value of the next token, consuming it.
nextLong() - Method in class org.djodjo.json.JsonReader
Returns the long value of the next token, consuming it.
nextName() - Method in class org.djodjo.json.JsonReader
Returns the next token, a property name, and consumes it.
nextNull() - Method in class org.djodjo.json.JsonReader
Consumes the next token from the Util stream and asserts that it is a literal null.
nextString() - Method in class org.djodjo.json.JsonReader
Returns the string value of the next token, consuming it.
nextValue() - Method in class org.djodjo.json.JsonReader
 
nullValue() - Method in class org.djodjo.json.JsonWriter
Encodes null.
numberToString(Number) - Static method in class org.djodjo.json.util.Util
Encodes the number as a Json string.

O

opt(int) - Method in class org.djodjo.json.JsonArray
Returns the value at index, or null if the array has no value at index.
opt(String) - Method in class org.djodjo.json.JsonObject
Returns the value mapped by name, or null if no such mapping exists.
optBoolean(int) - Method in class org.djodjo.json.JsonArray
Returns the value at index if it exists and is a boolean or can be coerced to a boolean.
optBoolean(int, Boolean) - Method in class org.djodjo.json.JsonArray
Returns the value at index if it exists and is a boolean or can be coerced to a boolean.
optBoolean(int, Boolean, boolean) - Method in class org.djodjo.json.JsonArray
 
optBoolean(String) - Method in class org.djodjo.json.JsonObject
Returns the value mapped by name if it exists and is a boolean or can be coerced to a boolean, or false otherwise.
optBoolean(String, Boolean) - Method in class org.djodjo.json.JsonObject
Returns the value mapped by name if it exists and is a boolean or fallback otherwise.
optBoolean(String, Boolean, boolean) - Method in class org.djodjo.json.JsonObject
 
optDouble(int) - Method in class org.djodjo.json.JsonArray
Returns the value at index if it exists and is a double or can be coerced to a double.
optDouble(int, Double) - Method in class org.djodjo.json.JsonArray
Returns the value at index if it exists and is a double or can be coerced to a double.
optDouble(int, Double, boolean) - Method in class org.djodjo.json.JsonArray
 
optDouble(String) - Method in class org.djodjo.json.JsonObject
Returns the value mapped by name if it exists and is a double or can be coerced to a double, or NaN otherwise.
optDouble(String, Double) - Method in class org.djodjo.json.JsonObject
Returns the value mapped by name if it exists and is a double or can be coerced to a double, or fallback otherwise.
optDouble(String, Double, boolean) - Method in class org.djodjo.json.JsonObject
 
optInt(int) - Method in class org.djodjo.json.JsonArray
 
optInt(int, Integer) - Method in class org.djodjo.json.JsonArray
Returns the value at index if it exists and is an int or can be coerced to an int.
optInt(int, Integer, boolean) - Method in class org.djodjo.json.JsonArray
 
optInt(String) - Method in class org.djodjo.json.JsonObject
Returns the value mapped by name if it exists and is an int or can be coerced to an int, or 0 otherwise.
optInt(String, Integer) - Method in class org.djodjo.json.JsonObject
Returns the value mapped by name if it exists and is an int or can be coerced to an int, or fallback otherwise.
optInt(String, Integer, boolean) - Method in class org.djodjo.json.JsonObject
 
optJsonArray(int) - Method in class org.djodjo.json.JsonArray
Returns the value at index if it exists and is a JsonArray.
optJsonArray(String) - Method in class org.djodjo.json.JsonObject
Returns the value mapped by name if it exists and is a JsonArray, or null otherwise.
optJsonObject(int) - Method in class org.djodjo.json.JsonArray
Returns the value at index if it exists and is a JsonObject.
optJsonObject(String) - Method in class org.djodjo.json.JsonObject
Returns the value mapped by name if it exists and is a JsonObject, or null otherwise.
optLong(int) - Method in class org.djodjo.json.JsonArray
Returns the value at index if it exists and is a long or can be coerced to a long.
optLong(int, Long) - Method in class org.djodjo.json.JsonArray
Returns the value at index if it exists and is a long or can be coerced to a long.
optLong(int, Long, boolean) - Method in class org.djodjo.json.JsonArray
 
optLong(String) - Method in class org.djodjo.json.JsonObject
Returns the value mapped by name if it exists and is a long or can be coerced to a long, or 0 otherwise.
optLong(String, Long) - Method in class org.djodjo.json.JsonObject
Returns the value mapped by name if it exists and is a long or can be coerced to a long, or fallback otherwise.
optLong(String, Long, boolean) - Method in class org.djodjo.json.JsonObject
 
optString(int) - Method in class org.djodjo.json.JsonArray
Returns the value at index if it exists, coercing it if necessary.
optString(int, String) - Method in class org.djodjo.json.JsonArray
Returns the value at index if it exists, coercing it if necessary.
optString(int, String, boolean) - Method in class org.djodjo.json.JsonArray
 
optString(String) - Method in class org.djodjo.json.JsonObject
Returns the value mapped by name if it exists, coercing it if necessary, or the empty string if no such mapping exists.
optString(String, String) - Method in class org.djodjo.json.JsonObject
Returns the value mapped by name if it exists, coercing it if necessary, or fallback if no such mapping exists.
optString(String, String, boolean) - Method in class org.djodjo.json.JsonObject
 
org.djodjo.json - package org.djodjo.json
 
org.djodjo.json.exception - package org.djodjo.json.exception
 
org.djodjo.json.util - package org.djodjo.json.util
 

P

peek() - Method in class org.djodjo.json.JsonReader
Returns the type of the next token without consuming it.
peekName() - Method in class org.djodjo.json.JsonReader
 
peekValue() - Method in class org.djodjo.json.JsonReader
 
put(boolean) - Method in class org.djodjo.json.JsonArray
Appends value to the end of this array.
put(double) - Method in class org.djodjo.json.JsonArray
Appends value to the end of this array.
put(int) - Method in class org.djodjo.json.JsonArray
Appends value to the end of this array.
put(long) - Method in class org.djodjo.json.JsonArray
Appends value to the end of this array.
put(Object) - Method in class org.djodjo.json.JsonArray
Appends value to the end of this array.
put(JsonElement) - Method in class org.djodjo.json.JsonArray
 
put(int, boolean) - Method in class org.djodjo.json.JsonArray
Sets the value at index to value, null padding this array to the required length if necessary.
put(int, double) - Method in class org.djodjo.json.JsonArray
Sets the value at index to value, null padding this array to the required length if necessary.
put(int, int) - Method in class org.djodjo.json.JsonArray
Sets the value at index to value, null padding this array to the required length if necessary.
put(int, long) - Method in class org.djodjo.json.JsonArray
Sets the value at index to value, null padding this array to the required length if necessary.
put(int, Object) - Method in class org.djodjo.json.JsonArray
Sets the value at index to value, null padding this array to the required length if necessary.
put(String, boolean) - Method in class org.djodjo.json.JsonObject
Maps name to value, clobbering any existing name/value mapping with the same name.
put(String, double) - Method in class org.djodjo.json.JsonObject
Maps name to value, clobbering any existing name/value mapping with the same name.
put(String, int) - Method in class org.djodjo.json.JsonObject
Maps name to value, clobbering any existing name/value mapping with the same name.
put(String, long) - Method in class org.djodjo.json.JsonObject
Maps name to value, clobbering any existing name/value mapping with the same name.
put(String, Object) - Method in class org.djodjo.json.JsonObject
Maps name to value, clobbering any existing name/value mapping with the same name.
put(String, JsonElement) - Method in class org.djodjo.json.JsonObject
Maps name to value, clobbering any existing name/value mapping with the same name.
put(K, V) - Method in class org.djodjo.json.util.LinkedTreeMap
 
putOpt(String, Object) - Method in class org.djodjo.json.JsonObject
Equivalent to put(name, value) when both parameters are non-null; does nothing otherwise.

R

readFrom(Reader) - Static method in class org.djodjo.json.JsonElement
 
readFrom(String) - Static method in class org.djodjo.json.JsonElement
 
remove(int) - Method in class org.djodjo.json.JsonArray
Removes and returns the value at index, or null if the array has no value at index.
remove(Object) - Method in class org.djodjo.json.JsonArray
 
remove(String) - Method in class org.djodjo.json.JsonObject
Removes the named mapping if it exists; does nothing otherwise.
remove(Object) - Method in class org.djodjo.json.util.LinkedTreeMap
 
removeAll(Collection<?>) - Method in class org.djodjo.json.JsonArray
 
retainAll(Collection<?>) - Method in class org.djodjo.json.JsonArray
 

S

set(int, JsonElement) - Method in class org.djodjo.json.JsonArray
 
setIndent(String) - Method in class org.djodjo.json.JsonWriter
Sets the indentation string to be repeated for each level of indentation in the encoded document.
setLenient(boolean) - Method in class org.djodjo.json.JsonReader
Configure this parser to be be liberal in what it accepts.
setLenient(boolean) - Method in class org.djodjo.json.JsonWriter
Configure this writer to relax its syntax rules.
size() - Method in class org.djodjo.json.JsonArray
 
size() - Method in class org.djodjo.json.util.LinkedTreeMap
 
skipValue() - Method in class org.djodjo.json.JsonReader
Skips the next value recursively.
StringPool - Class in org.djodjo.json.util
A pool of string instances.
StringPool() - Constructor for class org.djodjo.json.util.StringPool
 
subList(int, int) - Method in class org.djodjo.json.JsonArray
 

T

toArray() - Method in class org.djodjo.json.JsonArray
 
toArray(T[]) - Method in class org.djodjo.json.JsonArray
 
toArrayList() - Method in class org.djodjo.json.JsonArray
 
toBoolean(Object) - Static method in class org.djodjo.json.util.Util
 
toDouble(Object) - Static method in class org.djodjo.json.util.Util
 
toInteger(Object) - Static method in class org.djodjo.json.util.Util
 
toJsonArray(JsonArray) - Method in class org.djodjo.json.JsonObject
Returns an array with the values corresponding to names.
toJsonObject(JsonArray) - Method in class org.djodjo.json.JsonArray
Returns a new object whose values are the values in this array, and whose names are the values in names.
toLong(Object) - Static method in class org.djodjo.json.util.Util
 
toString() - Method in class org.djodjo.json.JsonBoolean
 
toString() - Method in class org.djodjo.json.JsonElement
 
toString() - Method in class org.djodjo.json.JsonNull
 
toString() - Method in class org.djodjo.json.JsonNumber
 
toString() - Method in class org.djodjo.json.JsonReader
 
toString() - Method in class org.djodjo.json.JsonString
 
toString(Object) - Static method in class org.djodjo.json.util.Util
 
typeMismatch(Object, Object, String, boolean) - Static method in class org.djodjo.json.util.Util
 
typeMismatch(Object, Object, String) - Static method in class org.djodjo.json.util.Util
 
typeMismatch(Object, String) - Static method in class org.djodjo.json.util.Util
 

U

Util - Class in org.djodjo.json.util
 
Util() - Constructor for class org.djodjo.json.util.Util
 

V

validate(JsonElement) - Method in class org.djodjo.json.AbstractValidator
 
validate(JsonElement, StringBuilder) - Method in class org.djodjo.json.AbstractValidator
 
validate(JsonElement) - Method in interface org.djodjo.json.Validator
Runs a full validation and returns a result
validate(JsonElement, StringBuilder) - Method in interface org.djodjo.json.Validator
 
Validator - Interface in org.djodjo.json
 
value(String) - Method in class org.djodjo.json.JsonWriter
Encodes value.
value(boolean) - Method in class org.djodjo.json.JsonWriter
Encodes value.
value(double) - Method in class org.djodjo.json.JsonWriter
Encodes value.
value(long) - Method in class org.djodjo.json.JsonWriter
Encodes value.
value(Number) - Method in class org.djodjo.json.JsonWriter
Encodes value.
valueOf(String) - Static method in enum org.djodjo.json.JsonToken
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.djodjo.json.JsonToken
Returns an array containing the constants of this enum type, in the order they are declared.
valuesSet() - Method in class org.djodjo.json.JsonObject
 

W

wrap(Object) - Static method in class org.djodjo.json.JsonElement
Wraps the given object if to JsonXXX object.
write(JsonWriter) - Method in class org.djodjo.json.JsonArray
 
write(JsonWriter) - Method in class org.djodjo.json.JsonBoolean
 
write(JsonWriter) - Method in class org.djodjo.json.JsonElement
 
write(JsonWriter) - Method in class org.djodjo.json.JsonNull
 
write(JsonWriter) - Method in class org.djodjo.json.JsonNumber
 
write(JsonWriter) - Method in class org.djodjo.json.JsonObject
 
write(JsonWriter) - Method in class org.djodjo.json.JsonString
 
writeTo(Writer) - Method in class org.djodjo.json.JsonElement
 
A B C D E F G H I J K L M N O P R S T U V W