Uses of Class
org.jmxtrans.agent.util.json.JsonArray

Packages that use JsonArray
Package Description
org.jmxtrans.agent.util.json  
  • Uses of JsonArray in org.jmxtrans.agent.util.json

    Methods in org.jmxtrans.agent.util.json that return JsonArray
    Modifier and Type Method Description
    JsonArray JsonArray.add​(boolean value)
    Appends the JSON representation of the specified boolean value to the end of this array.
    JsonArray JsonArray.add​(double value)
    Appends the JSON representation of the specified double value to the end of this array.
    JsonArray JsonArray.add​(float value)
    Appends the JSON representation of the specified float value to the end of this array.
    JsonArray JsonArray.add​(int value)
    Appends the JSON representation of the specified int value to the end of this array.
    JsonArray JsonArray.add​(long value)
    Appends the JSON representation of the specified long value to the end of this array.
    JsonArray JsonArray.add​(String value)
    Appends the JSON representation of the specified string to the end of this array.
    JsonArray JsonArray.add​(JsonValue value)
    Appends the specified JSON value 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 given boolean values.
    static JsonArray Json.array​(double... values)
    Creates a new JsonArray that contains the JSON representations of the given double values.
    static JsonArray Json.array​(float... values)
    Creates a new JsonArray that contains the JSON representations of the given float values.
    static JsonArray Json.array​(int... values)
    Creates a new JsonArray that contains the JSON representations of the given int values.
    static JsonArray Json.array​(long... values)
    Creates a new JsonArray that contains the JSON representations of the given long values.
    static JsonArray Json.array​(String... strings)
    Creates a new JsonArray that contains the JSON representations of the given strings.
    JsonArray JsonArray.asArray()  
    JsonArray JsonValue.asArray()
    Returns this JSON value as JsonArray, assuming that this value represents a JSON array.
    static JsonArray JsonArray.readFrom​(Reader reader)
    Deprecated.
    static JsonArray JsonArray.readFrom​(String string)
    Deprecated.
    JsonArray JsonArray.remove​(int index)
    Removes the element at the specified index from this array.
    JsonArray JsonArray.set​(int index, boolean value)
    Replaces the element at the specified position in this array with the JSON representation of the specified boolean value.
    JsonArray JsonArray.set​(int index, double value)
    Replaces the element at the specified position in this array with the JSON representation of the specified double value.
    JsonArray JsonArray.set​(int index, float value)
    Replaces the element at the specified position in this array with the JSON representation of the specified float value.
    JsonArray JsonArray.set​(int index, int value)
    Replaces the element at the specified position in this array with the JSON representation of the specified int value.
    JsonArray JsonArray.set​(int index, long value)
    Replaces the element at the specified position in this array with the JSON representation of the specified long value.
    JsonArray JsonArray.set​(int index, String value)
    Replaces the element at the specified position in this array with the JSON representation of the specified string.
    JsonArray JsonArray.set​(int index, JsonValue value)
    Replaces the element at the specified position in this array with the specified JSON value.
    static JsonArray JsonArray.unmodifiableArray​(JsonArray array)
    Returns an unmodifiable wrapper for the specified JsonArray.
    Methods in org.jmxtrans.agent.util.json with parameters of type JsonArray
    Modifier and Type Method Description
    static JsonArray JsonArray.unmodifiableArray​(JsonArray array)
    Returns an unmodifiable wrapper for the specified JsonArray.
    Constructors in org.jmxtrans.agent.util.json with parameters of type JsonArray
    Constructor Description
    JsonArray​(JsonArray array)
    Creates a new JsonArray with the contents of the specified JSON array.