6 lines
137 B
Python

from typing import List, Mapping, Union
JsonType = Union[
str, int, float, bool, None, Mapping[str, "JsonType"], List["JsonType"]
]