Package | Description |
---|---|
org.eclipse.rap.json | |
org.eclipse.rap.rwt.remote | |
org.eclipse.rap.rwt.template |
Modifier and Type | Method and Description |
---|---|
JsonObject |
JsonObject.add(java.lang.String name,
boolean value)
Adds a new member at the end of this object, with the specified name and the JSON
representation of the specified
boolean value. |
JsonObject |
JsonObject.add(java.lang.String name,
double value)
Adds a new member at the end of this object, with the specified name and the JSON
representation of the specified
double value. |
JsonObject |
JsonObject.add(java.lang.String name,
float value)
Adds a new member at the end of this object, with the specified name and the JSON
representation of the specified
float value. |
JsonObject |
JsonObject.add(java.lang.String name,
int value)
Adds a new member at the end of this object, with the specified name and the JSON
representation of the specified
int value. |
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.
|
JsonObject |
JsonObject.add(java.lang.String name,
long value)
Adds a new member at the end of this object, with the specified name and the JSON
representation of the specified
long value. |
JsonObject |
JsonObject.add(java.lang.String name,
java.lang.String value)
Adds a new member at the end of this object, with the specified name and the JSON
representation of the specified string.
|
JsonObject |
JsonObject.asObject() |
JsonObject |
JsonValue.asObject()
Returns this JSON value as
JsonObject , assuming that this value represents a JSON
object. |
static JsonObject |
JsonObject.readFrom(java.io.Reader reader)
Reads a JSON object from the given reader.
|
static JsonObject |
JsonObject.readFrom(java.lang.String string)
Reads a JSON object from the given string.
|
JsonObject |
JsonObject.remove(java.lang.String name)
Removes a member with the specified name from this object.
|
JsonObject |
JsonObject.set(java.lang.String name,
boolean value)
Sets the value of the member with the specified name to the JSON representation of the
specified
boolean value. |
JsonObject |
JsonObject.set(java.lang.String name,
double value)
Sets the value of the member with the specified name to the JSON representation of the
specified
double value. |
JsonObject |
JsonObject.set(java.lang.String name,
float value)
Sets the value of the member with the specified name to the JSON representation of the
specified
float value. |
JsonObject |
JsonObject.set(java.lang.String name,
int value)
Sets the value of the member with the specified name to the JSON representation of the
specified
int 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.
|
JsonObject |
JsonObject.set(java.lang.String name,
long value)
Sets the value of the member with the specified name to the JSON representation of the
specified
long value. |
JsonObject |
JsonObject.set(java.lang.String name,
java.lang.String value)
Sets the value of the member with the specified name to the JSON representation of the
specified string.
|
static JsonObject |
JsonObject.unmodifiableObject(JsonObject object)
Returns an unmodifiable JsonObject for the specified one.
|
Modifier and Type | Method and Description |
---|---|
static JsonObject |
JsonObject.unmodifiableObject(JsonObject object)
Returns an unmodifiable JsonObject for the specified one.
|
Constructor and Description |
---|
JsonObject(JsonObject object)
Creates a new JsonObject, initialized with the contents of the specified JSON object.
|
Modifier and Type | Method and Description |
---|---|
void |
RemoteObject.call(java.lang.String method,
JsonObject parameters)
Calls the method with the given name on the remote object.
|
void |
AbstractOperationHandler.handleCall(java.lang.String method,
JsonObject parameters) |
void |
OperationHandler.handleCall(java.lang.String method,
JsonObject parameters)
Handles a call operation from the remote object.
|
void |
AbstractOperationHandler.handleNotify(java.lang.String event,
JsonObject properties) |
void |
OperationHandler.handleNotify(java.lang.String event,
JsonObject properties)
Handles a notify operation from the remote object.
|
void |
AbstractOperationHandler.handleSet(JsonObject properties) |
void |
OperationHandler.handleSet(JsonObject properties)
Handles a set operation from the remote object.
|
Modifier and Type | Method and Description |
---|---|
protected JsonObject |
Cell.toJson()
Creates a JSON representation of this cell.
|
protected JsonObject |
ImageCell.toJson() |
protected JsonObject |
TextCell.toJson() |
Copyright (c) EclipseSource and others 2002, 2019.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0