getArrayOrNull

fun getArrayOrNull(index: Int): JSONArray?

Get a JSONArray or null at the requested subscript.

Return

The JSONArray at the requested subscript.

Parameters

index

The array subscript.

Throws

If the subscript is out of bounds.

If the element at the requested subscript is not a JSONValue.