Bases: exceptions.ValueError
JSON string is not valid.
Bases: exceptions.OverflowError
JSON integer is too large.
Like json.load, but converts ValueError to MalformedJSON upon failure.
Parameters: |
|
---|
Like json.dumps, but outputs a UTF-8 encoded string.
Parameters: | obj – a JSON-serializable object |
---|