DataDecoder.raw_decode
- DataDecoder.raw_decode(s, idx=0)[source]
- Decode a JSON document from - s(a- strbeginning with a JSON document) and return a 2-tuple of the Python representation and the index in- swhere the document ended.- This can be used to decode a JSON document from a string that may have extraneous data at the end.