Package | Description |
---|---|
elemental.js.json | |
elemental.json | |
elemental.json.impl |
Modifier and Type | Class and Description |
---|---|
class |
JsJsonArray
Client-side implementation of JsonArray.
|
class |
JsJsonBoolean
Client-side 'low overhead' JSO implementation using extension method
technique.
|
class |
JsJsonNull
Client-side implementation of JsonNull as "extension methods" on an actual
null.
|
class |
JsJsonNumber
Client-side 'low overhead' JSO implementation using extension method
technique.
|
class |
JsJsonObject
Client-side implementation of JsonObject interface.
|
class |
JsJsonString
Client-side 'zero overhead' JSO implementation using extension method
technique.
|
class |
JsJsonValue
JSO backed implementation of JsonValue.
|
Modifier and Type | Method and Description |
---|---|
<T extends JsonValue> |
JsJsonFactory.parse(String jsonString) |
Modifier and Type | Method and Description |
---|---|
JsonValue |
JsJsonArray.get(int index) |
JsonValue |
JsJsonObject.get(String key) |
Modifier and Type | Method and Description |
---|---|
boolean |
JsJsonValue.jsEquals(JsonValue value) |
void |
JsJsonObject.put(String key,
JsonValue value) |
void |
JsJsonObject.put0(String key,
JsonValue value)
Deprecated.
use
JsJsonObject.put(String, elemental.json.JsonValue) instead. |
void |
JsJsonArray.set(int index,
JsonValue value) |
Modifier and Type | Interface and Description |
---|---|
interface |
JsonArray
Represents a Json array.
|
interface |
JsonBoolean
Represents a Json boolean.
|
interface |
JsonNull
Represents the Json null value.
|
interface |
JsonNumber
Represents a Json number value.
|
interface |
JsonObject
Represents a Json object.
|
interface |
JsonString
Represents a Json String value.
|
Modifier and Type | Method and Description |
---|---|
<T extends JsonValue> |
JsonArray.get(int index)
Return the ith element of the array.
|
<T extends JsonValue> |
JsonObject.get(String key)
Return the element (uncoerced) as a JsonValue.
|
<T extends JsonValue> |
JsonFactory.parse(String jsonString)
Parse a String in JSON format and return a JsonValue of the appropriate
type.
|
Modifier and Type | Method and Description |
---|---|
boolean |
JsonValue.jsEquals(JsonValue value)
Equivalent of Javascript '==' operator comparison between two values.
|
void |
JsonObject.put(String key,
JsonValue value)
Set a given key to the given value.
|
void |
JsonArray.set(int index,
JsonValue value)
Set the value at index to be a given value.
|
Modifier and Type | Class and Description |
---|---|
class |
JreJsonArray
Server-side implementation of JsonArray.
|
class |
JreJsonBoolean
Server-side implementation of JsonBoolean.
|
class |
JreJsonNull
Server-side implementation of JsonObject.
|
class |
JreJsonNumber
Server-side implementation of JsonNumber.
|
class |
JreJsonObject
Server-side implementation of JsonObject.
|
class |
JreJsonString
Server-side implementation of JsonString.
|
class |
JreJsonValue
JRE (non-Client) implementation of JreJsonValue.
|
Modifier and Type | Method and Description |
---|---|
<T extends JsonValue> |
JreJsonFactory.parse(String jsonString) |
static <T extends JsonValue> |
JsonUtil.parse(String json) |
protected static <T extends JsonValue> |
JreJsonValue.parseJson(ObjectInputStream stream) |
Modifier and Type | Method and Description |
---|---|
JsonValue |
JreJsonArray.get(int index) |
JsonValue |
JreJsonObject.get(String key) |
Modifier and Type | Method and Description |
---|---|
boolean |
JreJsonBoolean.jsEquals(JsonValue value) |
boolean |
JreJsonObject.jsEquals(JsonValue value) |
boolean |
JreJsonArray.jsEquals(JsonValue value) |
boolean |
JreJsonString.jsEquals(JsonValue value) |
boolean |
JreJsonNumber.jsEquals(JsonValue value) |
boolean |
JreJsonNull.jsEquals(JsonValue value) |
void |
JreJsonObject.put(String key,
JsonValue value) |
void |
JreJsonArray.set(int index,
JsonValue value) |
void |
JreJsonObject.set(String key,
JsonValue value) |
static String |
JsonUtil.stringify(JsonValue jsonValue)
Converts a Json Object to Json format.
|
static String |
JsonUtil.stringify(JsonValue jsonValue,
int spaces)
Converts a JSO to Json format.
|
static String |
JsonUtil.stringify(JsonValue jsonValue,
String indent)
Converts a Json object to Json formatted String.
|
Copyright © 2018. All rights reserved.