Defines JSON array.
- See also
- Companion
- object
Value members
Abstract methods
Selects first value in array.
Selects first value in array.
- Throws
- NoSuchElementException
if array is empty
Selects all values in array excluding last.
Selects all values in array excluding last.
- Throws
- UnsupportedOperationException
if array is empty
Selects last value in array.
Selects last value in array.
- Throws
- NoSuchElementException
if array is empty
Selects slice of array.
Selects slice of array.
- Value Params
- from
lowest index to include
- until
lowest index to exclude
- Returns
slice of JSON array containing elements whose indexes are greater than or equal to
from
and less thanuntil
Selects all values in array excluding first.
Selects all values in array excluding first.
- Throws
- UnsupportedOperationException
if array is empty
Concrete methods
Gets BigDecimal at given index.
Gets BigDecimal at given index.
- Throws
- ClassCastException
if not JsonNumber
Gets Boolean at given index.
Gets Boolean at given index.
- Throws
- ClassCastException
if not JsonBoolean
Gets JSON array at given index.
Gets JSON array at given index.
- Throws
- ClassCastException
if not JsonArray
Gets JSON boolean at given index.
Gets JSON boolean at given index.
- Throws
- ClassCastException
if not JsonBoolean
Gets JSON null at given index.
Gets JSON null at given index.
- Throws
- ClassCastException
if not JsonNull
Gets JSON number at given index.
Gets JSON number at given index.
- Throws
- ClassCastException
if not JsonNumber
Gets JSON object at given index.
Gets JSON object at given index.
- Throws
- ClassCastException
if not JsonObject
Gets JSON string at given index.
Gets JSON string at given index.
- Throws
- ClassCastException
if not JsonString