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

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

    Subclasses of JsonValue in org.jmxtrans.agent.util.json
    Modifier and Type Class Description
    class  JsonArray
    Represents a JSON array, an ordered collection of JSON values.
    class  JsonObject
    Represents a JSON object, a set of name/value pairs, where the names are strings and the values are JSON values.
    Fields in org.jmxtrans.agent.util.json declared as JsonValue
    Modifier and Type Field Description
    static JsonValue Json.FALSE
    Represents the JSON literal false.
    static JsonValue JsonValue.FALSE
    Deprecated.
    Use Json.FALSE instead
    static JsonValue Json.NULL
    Represents the JSON literal null.
    static JsonValue JsonValue.NULL
    Deprecated.
    Use Json.NULL instead
    static JsonValue Json.TRUE
    Represents the JSON literal true.
    static JsonValue JsonValue.TRUE
    Deprecated.
    Use Json.TRUE instead
    Methods in org.jmxtrans.agent.util.json that return JsonValue
    Modifier and Type Method Description
    JsonValue JsonArray.get​(int index)
    Returns the value of the element at the specified position in this array.
    JsonValue JsonObject.get​(java.lang.String name)
    Returns the value of the member with the specified name in this object.
    JsonValue JsonObject.Member.getValue()
    Returns the value of this member.
    static JsonValue Json.parse​(java.io.Reader reader)
    Reads the entire input from the given reader and parses it as JSON.
    static JsonValue Json.parse​(java.lang.String string)
    Parses the given input string as JSON.
    static JsonValue JsonValue.readFrom​(java.io.Reader reader)
    Deprecated.
    Use Json.parse(Reader) instead
    static JsonValue JsonValue.readFrom​(java.lang.String text)
    Deprecated.
    Use Json.parse(String) instead
    static JsonValue Json.value​(boolean value)
    Returns a JsonValue instance that represents the given boolean value.
    static JsonValue Json.value​(double value)
    Returns a JsonValue instance that represents the given double value.
    static JsonValue Json.value​(float value)
    Returns a JsonValue instance that represents the given float value.
    static JsonValue Json.value​(int value)
    Returns a JsonValue instance that represents the given int value.
    static JsonValue Json.value​(long value)
    Returns a JsonValue instance that represents the given long value.
    static JsonValue Json.value​(java.lang.String string)
    Returns a JsonValue instance that represents the given string.
    static JsonValue JsonValue.valueOf​(boolean value)
    Deprecated.
    Use Json.value() instead
    static JsonValue JsonValue.valueOf​(double value)
    Deprecated.
    Use Json.value() instead
    static JsonValue JsonValue.valueOf​(float value)
    Deprecated.
    Use Json.value() instead
    static JsonValue JsonValue.valueOf​(int value)
    Deprecated.
    Use Json.value() instead
    static JsonValue JsonValue.valueOf​(long value)
    Deprecated.
    Use Json.value() instead
    static JsonValue JsonValue.valueOf​(java.lang.String string)
    Deprecated.
    Use Json.value() instead
    Methods in org.jmxtrans.agent.util.json that return types with arguments of type JsonValue
    Modifier and Type Method Description
    java.util.Iterator<JsonValue> JsonArray.iterator()
    Returns an iterator over the values of this array in document order.
    java.util.List<JsonValue> JsonArray.values()
    Returns a list of the values in this array in document order.
    Methods in org.jmxtrans.agent.util.json with parameters of type JsonValue
    Modifier and Type Method Description
    JsonArray JsonArray.add​(JsonValue value)
    Appends the specified JSON value to the end of this array.
    JsonObject JsonObject.add​(java.lang.String name, JsonValue value)
    Appends a new member to the end of this object, with the specified name and the specified JSON value.
    JsonArray JsonArray.set​(int index, JsonValue value)
    Replaces the element at the specified position in this array with the specified JSON value.
    JsonObject JsonObject.set​(java.lang.String name, JsonValue value)
    Sets the value of the member with the specified name to the specified JSON value.