jsonkraken / net.jemzart.jsonkraken.errors.collections / NoSuchIndexException

NoSuchIndexException

class NoSuchIndexException : JsonKrakenException

Since
2.0 Used when an item from an index is being extracted from a JsonArray, and it does not possess it.

Constructors

<init>

NoSuchIndexException(index: Int, arr: JsonArray)

Properties

arr

val arr: JsonArray

the JsonArray which did not have an item in required index.

index

val index: Int

said index.