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