--- /dev/null
+from typing import Any, Callable, Iterator, Optional, Tuple\r
+\r
+class JSONEncoder:\r
+ item_separator = ... # type: str\r
+ key_separator = ... # type: str\r
+\r
+ skipkeys = ... # type: bool\r
+ ensure_ascii = ... # type: bool\r
+ check_circular = ... # type: bool\r
+ allow_nan = ... # type: bool\r
+ sort_keys = ... # type: bool\r
+ indent = ... # type: int\r
+\r
+ def __init__(self, skipkeys: bool = ..., ensure_ascii: bool = ...,\r
+ check_circular: bool = ..., allow_nan: bool = ..., sort_keys: bool = ...,\r
+ indent: Optional[int] = ..., separators: Optional[Tuple[str, str]] = ..., default: Optional[Callable] = ...) -> None: ...\r
+\r
+ def default(self, o: Any) -> Any: ...\r
+ def encode(self, o: Any) -> str: ...\r
+ def iterencode(self, o: Any, _one_shot: bool = ...) -> Iterator[str]: ...\r