jsonkraken / net.jemzart.jsonkraken.errors.deserialization / DeserializationException

DeserializationException

open class DeserializationException : JsonKrakenException

Since
2.0 An exception used when deserializing a String which is not a valid JSON representation.

Constructors

<init>

DeserializationException(index: Int, raw: String, detail: String, snapshot: String)

Properties

detail

val detail: String

information specific to the error.

index

val index: Int

index of the illegal character.

raw

val raw: String

raw data to be deserialized.

snapshot

val snapshot: String

visual representation of the error.