Skip to main content

Module pyjson

Module pyjson 

Source
Expand description

Python-compatible JSON values, parser, and pretty-printer.

Structs§

PyJsonError

Enums§

PyJson
A JSON value exactly as Python’s json module reads and writes it.

Functions§

dumps
Formats like json.dumps(value, ensure_ascii=False, indent=2).
dumps_compact
Formats like json.dumps(value, ensure_ascii=False).
loads
Parses the same value language as CPython’s json.loads.
loads_with_budget
Parses with an explicit allocation budget in bytes.