exception json.JSONDecodeError(msg, doc, pos, end=None)
Subclass of ValueError with the following additional attributes:
-
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.
New in version 3.5.
Please login to continue.