getLongOrNull

fun getLongOrNull(index: Int): Long?

Get a Long or null at the requested subscript.

Return

The Long 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.