Uses of Class
org.jmxtrans.agent.util.json.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 classJsonArrayRepresents a JSON array, an ordered collection of JSON values.classJsonObjectRepresents 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 JsonValueJson. FALSERepresents the JSON literalfalse.static JsonValueJsonValue. FALSEDeprecated.static JsonValueJson. NULLRepresents the JSON literalnull.static JsonValueJsonValue. NULLDeprecated.UseJson.NULLinsteadstatic JsonValueJson. TRUERepresents the JSON literaltrue.static JsonValueJsonValue. TRUEDeprecated.UseJson.TRUEinsteadMethods in org.jmxtrans.agent.util.json that return JsonValue Modifier and Type Method Description JsonValueJsonArray. get(int index)Returns the value of the element at the specified position in this array.JsonValueJsonObject. get(String name)Returns the value of the member with the specified name in this object.JsonValueJsonObject.Member. getValue()Returns the value of this member.static JsonValueJson. parse(Reader reader)Reads the entire input from the given reader and parses it as JSON.static JsonValueJson. parse(String string)Parses the given input string as JSON.static JsonValueJsonValue. readFrom(Reader reader)Deprecated.UseJson.parse(Reader)insteadstatic JsonValueJsonValue. readFrom(String text)Deprecated.UseJson.parse(String)insteadstatic JsonValueJson. value(boolean value)Returns a JsonValue instance that represents the givenbooleanvalue.static JsonValueJson. value(double value)Returns a JsonValue instance that represents the givendoublevalue.static JsonValueJson. value(float value)Returns a JsonValue instance that represents the givenfloatvalue.static JsonValueJson. value(int value)Returns a JsonValue instance that represents the givenintvalue.static JsonValueJson. value(long value)Returns a JsonValue instance that represents the givenlongvalue.static JsonValueJson. value(String string)Returns a JsonValue instance that represents the given string.static JsonValueJsonValue. valueOf(boolean value)Deprecated.UseJson.value()insteadstatic JsonValueJsonValue. valueOf(double value)Deprecated.UseJson.value()insteadstatic JsonValueJsonValue. valueOf(float value)Deprecated.UseJson.value()insteadstatic JsonValueJsonValue. valueOf(int value)Deprecated.UseJson.value()insteadstatic JsonValueJsonValue. valueOf(long value)Deprecated.UseJson.value()insteadstatic JsonValueJsonValue. valueOf(String string)Deprecated.UseJson.value()insteadMethods in org.jmxtrans.agent.util.json that return types with arguments of type JsonValue Modifier and Type Method Description Iterator<JsonValue>JsonArray. iterator()Returns an iterator over the values of this array in document order.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 JsonArrayJsonArray. add(JsonValue value)Appends the specified JSON value to the end of this array.JsonObjectJsonObject. add(String name, JsonValue value)Appends a new member to the end of this object, with the specified name and the specified JSON value.JsonArrayJsonArray. set(int index, JsonValue value)Replaces the element at the specified position in this array with the specified JSON value.JsonObjectJsonObject. set(String name, JsonValue value)Sets the value of the member with the specified name to the specified JSON value.
Json.FALSEinstead