ID EN
JSON

load

Python 3.11

Deserialize fp (a .read()-supporting text file or binary file containing a JSON document) to a Python object using this conversion table.

Syntax

PYTHON
json.load(fp, *, cls=None, object_hook=None, parse_float=None, parse_int=None, parse_constant=None, object_pairs_hook=None, **kw)

See Also

text file binary file conversion table dict dict dict decimal.Decimal float