massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2and3 / ujson.pyi
diff --git a/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/third_party/2and3/ujson.pyi b/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/third_party/2and3/ujson.pyi
new file mode 100644 (file)
index 0000000..a3eec07
--- /dev/null
@@ -0,0 +1,51 @@
+# Stubs for ujson\r
+# See: https://pypi.python.org/pypi/ujson\r
+from typing import Any, AnyStr, IO, Optional\r
+\r
+__version__ = ...  # type: str\r
+\r
+def encode(\r
+    obj: Any,\r
+    ensure_ascii: bool = ...,\r
+    double_precision: int = ...,\r
+    encode_html_chars: bool = ...,\r
+    escape_forward_slashes: bool = ...,\r
+    sort_keys: bool = ...,\r
+    indent: int = ...,\r
+) -> str: ...\r
+\r
+def dumps(\r
+    obj: Any,\r
+    ensure_ascii: bool = ...,\r
+    double_precision: int = ...,\r
+    encode_html_chars: bool = ...,\r
+    escape_forward_slashes: bool = ...,\r
+    sort_keys: bool = ...,\r
+    indent: int = ...,\r
+) -> str: ...\r
+\r
+def dump(\r
+    obj: Any,\r
+    fp: IO[str],\r
+    ensure_ascii: bool = ...,\r
+    double_precision: int = ...,\r
+    encode_html_chars: bool = ...,\r
+    escape_forward_slashes: bool = ...,\r
+    sort_keys: bool = ...,\r
+    indent: int = ...,\r
+) -> None: ...\r
+\r
+def decode(\r
+    s: AnyStr,\r
+    precise_float: bool = ...,\r
+) -> Any: ...\r
+\r
+def loads(\r
+    s: AnyStr,\r
+    precise_float: bool = ...,\r
+) -> Any: ...\r
+\r
+def load(\r
+    fp: IO[AnyStr],\r
+    precise_float: bool = ...,\r
+) -> Any: ...\r