jsonkraken / net.jemzart.jsonkraken.errors.collections / InvalidIndexException

InvalidIndexException

class InvalidIndexException : JsonKrakenException

Since
2.0 Used when a String is being used for either 'get' or 'set' operators in a JsonArray, and such String could not be cast to Int.

Constructors

<init>

InvalidIndexException(value: String, arr: JsonArray)

Properties

arr

val arr: JsonArray

the JsonArray which triggered the exception.

value

val value: String

String value which attempted to be used as an index.