- 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
-
- 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
-
- 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.