Uses of Class
com.espertech.esper.common.client.json.minimaljson.JsonArray
Package
Description
JSON event object interface and event sender.
-
Uses of JsonArray in com.espertech.esper.common.client.json.minimaljson
Modifier and TypeMethodDescriptionJsonArray.add
(boolean value) Appends the JSON representation of the specifiedboolean
value to the end of this array.JsonArray.add
(double value) Appends the JSON representation of the specifieddouble
value to the end of this array.JsonArray.add
(float value) Appends the JSON representation of the specifiedfloat
value to the end of this array.JsonArray.add
(int value) Appends the JSON representation of the specifiedint
value to the end of this array.JsonArray.add
(long value) Appends the JSON representation of the specifiedlong
value to the end of this array.Appends the specified JSON value to the end of this array.Appends the JSON representation of the specified string to the end of this array.static JsonArray
Json.array()
Creates a new empty JsonArray.static JsonArray
Json.array
(boolean... values) Creates a new JsonArray that contains the JSON representations of the givenboolean
values.static JsonArray
Json.array
(double... values) Creates a new JsonArray that contains the JSON representations of the givendouble
values.static JsonArray
Json.array
(float... values) Creates a new JsonArray that contains the JSON representations of the givenfloat
values.static JsonArray
Json.array
(int... values) Creates a new JsonArray that contains the JSON representations of the givenint
values.static JsonArray
Json.array
(long... values) Creates a new JsonArray that contains the JSON representations of the givenlong
values.static JsonArray
Creates a new JsonArray that contains the JSON representations of the given strings.JsonArray.asArray()
JsonValue.asArray()
Returns this JSON value asJsonArray
, assuming that this value represents a JSON array.static JsonArray
Deprecated.static JsonArray
Deprecated.UseJson.parse(String)
.asArray()
insteadJsonArray.remove
(int index) Removes the element at the specified index from this array.JsonArray.set
(int index, boolean value) Replaces the element at the specified position in this array with the JSON representation of the specifiedboolean
value.JsonArray.set
(int index, double value) Replaces the element at the specified position in this array with the JSON representation of the specifieddouble
value.JsonArray.set
(int index, float value) Replaces the element at the specified position in this array with the JSON representation of the specifiedfloat
value.JsonArray.set
(int index, int value) Replaces the element at the specified position in this array with the JSON representation of the specifiedint
value.JsonArray.set
(int index, long value) Replaces the element at the specified position in this array with the JSON representation of the specifiedlong
value.Replaces the element at the specified position in this array with the specified JSON value.Replaces the element at the specified position in this array with the JSON representation of the specified string.static JsonArray
JsonArray.unmodifiableArray
(JsonArray array) Returns an unmodifiable wrapper for the specified JsonArray.Modifier and TypeMethodDescriptionstatic JsonArray
JsonArray.unmodifiableArray
(JsonArray array) Returns an unmodifiable wrapper for the specified JsonArray.
Json.parse(Reader)
.asArray()
instead