PyDocs

Nav

Internet Data Handling

JSONDecodeError

json

exception · Added in 3.5 (source)
  • JSONDecodeError(msg, doc, pos)
Subclass of ValueError with the following additional properties:

msg: The unformatted error message
doc: The JSON document being parsed
pos: The start index of doc where parsing failed
lineno: The line corresponding to pos
colno: The column corresponding to pos
Members of JSONDecodeError

c

colno
The column corresponding to pos.

d

doc
The JSON document being parsed.

l

lineno
The line corresponding to pos.

m

msg
The unformatted error message.

p

pos
The start index of doc where parsing failed.
0 Examples
No examples for json/JSONDecodeError.
See Also
No see-alsos for json/JSONDecodeError
0 Notes
No notes for JSONDecodeError