- 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.
- 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.
- 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.
- 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.
- 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 (i.e.