Uses of Class
org.eclipse.rap.json.JsonValue
-
Packages that use JsonValue Package Description org.eclipse.rap.json org.eclipse.rap.rwt.remote -
-
Uses of JsonValue in org.eclipse.rap.json
Subclasses of JsonValue in org.eclipse.rap.json Modifier and Type Class Description class
JsonArray
/** Represents a JSON array, i.e.class
JsonObject
Represents a JSON object, i.e.Fields in org.eclipse.rap.json declared as JsonValue Modifier and Type Field Description static JsonValue
JsonValue. FALSE
Represents the JSON literalfalse
.static JsonValue
JsonValue. NULL
The JSON literalnull
.static JsonValue
JsonValue. TRUE
Represents the JSON literaltrue
.Methods in org.eclipse.rap.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
JsonValue. readFrom(java.io.Reader reader)
Reads a JSON value from the given reader.static JsonValue
JsonValue. readFrom(java.lang.String text)
Reads a JSON value from the given string.static JsonValue
JsonValue. valueOf(boolean value)
Returns a JsonValue instance that represents the givenboolean
value.static JsonValue
JsonValue. valueOf(double value)
Returns a JsonValue instance that represents the givendouble
value.static JsonValue
JsonValue. valueOf(float value)
Returns a JsonValue instance that represents the givenfloat
value.static JsonValue
JsonValue. valueOf(int value)
Returns a JsonValue instance that represents the givenint
value.static JsonValue
JsonValue. valueOf(long value)
Returns a JsonValue instance that represents the givenlong
value.static JsonValue
JsonValue. valueOf(java.lang.String string)
Returns a JsonValue instance that represents the given string.Methods in org.eclipse.rap.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.eclipse.rap.json with parameters of type JsonValue Modifier and Type Method Description JsonArray
JsonArray. add(JsonValue value)
Adds the specified JSON value to the array.JsonObject
JsonObject. add(java.lang.String name, JsonValue value)
Adds a new member at 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. -
Uses of JsonValue in org.eclipse.rap.rwt.remote
Methods in org.eclipse.rap.rwt.remote that return JsonValue Modifier and Type Method Description static JsonValue
JsonMapping. toJson(Color color)
Returns the JSON representation for the given Color.static JsonValue
JsonMapping. toJson(Color color, int alpha)
Returns the JSON representation for the given Color with an additional alpha (opacity) value.static JsonValue
JsonMapping. toJson(Cursor cursor)
Returns the JSON representation for the given Cursor.static JsonValue
JsonMapping. toJson(Font font)
Returns the JSON representation for the given Font.static JsonValue
JsonMapping. toJson(FontData fontData)
Returns the JSON representation for the given FontData.static JsonValue
JsonMapping. toJson(Image image)
Returns the JSON representation for the given Image.static JsonValue
JsonMapping. toJson(Point point)
Returns the JSON representation for the given Point.static JsonValue
JsonMapping. toJson(Point[] points)
Returns the JSON representation for the given array Point.static JsonValue
JsonMapping. toJson(Rectangle rect)
Returns the JSON representation for the given Rectangle.static JsonValue
JsonMapping. toJson(RGB rgb)
Returns the JSON representation for the given RGB.static JsonValue
JsonMapping. toJson(RGB rgb, int alpha)
Returns the JSON representation for the given RGB with an additional alpha (opacity) value.static JsonValue
JsonMapping. toJson(Widget widget)
Returns the JSON representation for the given Widget.static JsonValue
JsonMapping. toJson(Widget[] widgets)
Returns the JSON representation for the given array of widgets.Methods in org.eclipse.rap.rwt.remote with parameters of type JsonValue Modifier and Type Method Description static Point
JsonMapping. readPoint(JsonValue value)
Returns an instance of Point for the given JSON representation.static Rectangle
JsonMapping. readRectangle(JsonValue value)
Returns an instance of Rectangle for the given JSON representation.static RGB
JsonMapping. readRGB(JsonValue value)
Returns an instance of RGB for the given JSON representation.void
RemoteObject. set(java.lang.String name, JsonValue value)
Sets the specified property of the remote object to the given value.
-