getBigDecimalOrNull

fun getBigDecimalOrNull(index: Int): BigDecimal?

Get a BigDecimal or null at the requested subscript.

Return

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