Y
Hacker News
new
|
ask
|
show
|
jobs
by
sevensor
449 days 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”]