class InvalidCastException : JsonKrakenException
Since
2.0
An exception used for when a JsonValue tries to be unboxed, but fails because it cannot be casted to said type.
See 'Valid Types' for more information. (https://github.com/zogar1993/jsonkraken#valid-types)
InvalidCastException(from: KClass<out JsonValue>, to: KClass<*>) |
val from: KClass<out JsonValue>
the type of the JsonValue. |
|
val to: KClass<*>
the type to witch the cast was intended. |