massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / stdlib / 3 / json / encoder.pyi
diff --git a/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/stdlib/3/json/encoder.pyi b/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/stdlib/3/json/encoder.pyi
new file mode 100644 (file)
index 0000000..f8b355c
--- /dev/null
@@ -0,0 +1,20 @@
+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