json.JSONDecodeError

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.

doc_python
2016-10-07 17:35:50
Comments
Leave a Comment

Please login to continue.