PyDocs

Nav

Internet Data Handling

JSONDecoder.raw_decode

json

method of JSONDecoder (source)
  • JSONDecoder.raw_decode(s)
Decode a JSON document from ``s`` (a ``str`` beginning with
a JSON document) and return a 2-tuple of the Python
representation and the index in ``s`` where the document ended.

This can be used to decode a JSON document from a string that may
have extraneous data at the end.
0 Examples
No examples for json/JSONDecoder.raw_decode.
See Also
No see-alsos for json/JSONDecoder.raw_decode
0 Notes
No notes for JSONDecoder.raw_decode