public interface JsonArray
Modifier and Type | Method and Description |
---|---|
String |
asString()
Formats the array as a
String . |
int |
getSize()
Returns the number of elements in the array.
|
<T> T |
getValue(int index,
JsonValueType<T> valueType)
Retrieves a value contained at the given index.
|
<T> T getValue(int index, JsonValueType<T> valueType)
Throws an exception if the value contained at the given index does not match the requested type.
T
- the requested value typeindex
- the index of the element. Cannot be negative or greater than/equal to the number of rows.valueType
- the requested value type. Cannot be null.int getSize()
Copyright © Veeva Systems 2017–2021. All rights reserved.