api / tv.twelvetone.json / ParseException

ParseException

class ParseException : Throwable

An unchecked exception to indicate that an input does not qualify as valid JSON.

Properties

column

val column: Int

Returns the column number at which the error occurred, i.e. the number of the character in its line. The number of the first character of a line is 1.

line

val line: Int

Returns the line number in which the error occurred. The number of the first line is 1.

location

val location: Location

Returns the location at which the error occurred.

offset

val offset: Int

Returns the absolute character index at which the error occurred. The offset of the first character of a document is 0.