ID EN
JSON

dumps

Python 3.11

Serialize obj to a JSON formatted str using this conversion table. The arguments have the same meaning as in dump().

Syntax

PYTHON
json.dumps(obj, *, skipkeys=False, ensure_ascii=True, check_circular=True, allow_nan=True, cls=None, indent=None, separators=None, default=None, sort_keys=False, **kw)

See Also

str conversion table dump() str