Example: https://jsonyx.readthedocs.io/en/latest/api/jsonyx.dump.html ```python def dump(...) -> None: r"""Serialize a Python object to an open JSON file. :raises TypeError: for unserializable values :raises ValueError: for invalid values >>> import jsonyx as json >>> json.dump(["foo", {"bar": ("baz", None, 1.0, 2)}]) ["foo", {"bar": ["baz", null, 1.0, 2]}] >>> from io import StringIO >>> io = StringIO() >>> json.dump(["streaming API"], io) >>> io.getvalue() '["streaming API"]\n' """ ``` <img width="775" alt="Screenshot 2024-09-11 at 19 46 12" src="https://github.com/user-attachments/assets/df99eccf-813a-4ef7-ad1b-986a582c42e5">