| Modifier and Type | Method and Description |
|---|---|
Json.Object |
Json.createObject()
Creates an new, empty
Object. |
Json.Object |
Json.Array.getObject(int index)
Gets the object value at the given index, or
null if there is no value at this
index. |
Json.Object |
Json.Array.getObject(int index,
Json.Object dflt)
Gets the object value at the given index, or the default if there is no value at this index.
|
Json.Object |
Json.Object.getObject(java.lang.String key)
Gets the object value at the given key, or
null if there is no value at this
key. |
Json.Object |
Json.Object.getObject(java.lang.String key,
Json.Object dflt)
Gets the object value at the given key, or the default if there is no value at this key.
|
Json.Object |
Json.parse(java.lang.String json)
Parses the given JSON string into an
Object that can be dynamically introspected. |
Json.Object |
Json.Object.put(java.lang.String key,
java.lang.Object value)
Inserts a JSON null, object, array or string value at the given key.
|
Json.Object |
Json.Object.remove(java.lang.String key)
Removes a JSON value at the given key.
|
| Modifier and Type | Method and Description |
|---|---|
static Json.TypedArray<Json.Object> |
Json.TypedArray.Util.create(Json.Object... data)
Creates a typed array using
data as its backing data. |
| Modifier and Type | Method and Description |
|---|---|
static Json.TypedArray<Json.Object> |
Json.TypedArray.Util.create(Json.Object... data)
Creates a typed array using
data as its backing data. |
Json.Object |
Json.Array.getObject(int index,
Json.Object dflt)
Gets the object value at the given index, or the default if there is no value at this index.
|
Json.Object |
Json.Object.getObject(java.lang.String key,
Json.Object dflt)
Gets the object value at the given key, or the default if there is no value at this key.
|
Copyright © 2018. All Rights Reserved.