| Modifier and Type | Method and Description |
|---|---|
static Json.TypedArray<java.lang.Boolean> |
Json.TypedArray.Util.create(java.lang.Boolean... data)
Creates a typed array using
data as its backing data. |
static Json.TypedArray<java.lang.Double> |
Json.TypedArray.Util.create(java.lang.Double... data)
Creates a typed array using
data as its backing data. |
static Json.TypedArray<java.lang.Float> |
Json.TypedArray.Util.create(java.lang.Float... data)
Creates a typed array using
data as its backing data. |
static Json.TypedArray<java.lang.Integer> |
Json.TypedArray.Util.create(java.lang.Integer... data)
Creates a typed array using
data as its backing data. |
static Json.TypedArray<Json.Array> |
Json.TypedArray.Util.create(Json.Array... data)
Creates a typed array using
data as its backing data. |
static Json.TypedArray<Json.Object> |
Json.TypedArray.Util.create(Json.Object... data)
Creates a typed array using
data as its backing data. |
static Json.TypedArray<java.lang.String> |
Json.TypedArray.Util.create(java.lang.String... data)
Creates a typed array using
data as its backing data. |
<T> Json.TypedArray<T> |
Json.Array.getArray(int index,
java.lang.Class<T> jsonType)
Gets an array at the given index that assumes its values are of the given json type, or
null if there is no value at this index. |
<T> Json.TypedArray<T> |
Json.Object.getArray(java.lang.String key,
java.lang.Class<T> jsonType)
Gets an array at the given key that assumes its values are of the given json type, or
null if there is no value at this key. |
<T> Json.TypedArray<T> |
Json.Object.getArray(java.lang.String key,
java.lang.Class<T> jsonType,
Json.TypedArray<T> dflt)
Gets an array at the given key that assumes its values are of the given json type, or the
default if there is no value at this key.
|
Json.TypedArray<java.lang.String> |
Json.Object.keys()
Gets a snapshot of the current set of keys for this JSON object.
|
| Modifier and Type | Method and Description |
|---|---|
<T> Json.TypedArray<T> |
Json.Object.getArray(java.lang.String key,
java.lang.Class<T> jsonType,
Json.TypedArray<T> dflt)
Gets an array at the given key that assumes its values are of the given json type, or the
default if there is no value at this key.
|
Copyright © 2018. All Rights Reserved.