3 ms·
You can actually annotate the return type of json.load better than that: JSON = float | bool | int | str | None | list[“JSON”] | dict[str, “JSON”]
by sevensor 2y ago
You can actually annotate the return type of json.load better than that:
JSON = float | bool | int | str | None | list[“JSON”] | dict[str, “JSON”]