massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / ujson / ujson.pyi
diff --git a/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stubs/ujson/ujson.pyi b/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stubs/ujson/ujson.pyi
new file mode 100644 (file)
index 0000000..f96d475
--- /dev/null
@@ -0,0 +1,35 @@
+from typing import IO, Any, AnyStr
+
+__version__: str
+
+def encode(
+    obj: Any,
+    ensure_ascii: bool = ...,
+    double_precision: int = ...,
+    encode_html_chars: bool = ...,
+    escape_forward_slashes: bool = ...,
+    sort_keys: bool = ...,
+    indent: int = ...,
+) -> str: ...
+def dumps(
+    obj: Any,
+    ensure_ascii: bool = ...,
+    double_precision: int = ...,
+    encode_html_chars: bool = ...,
+    escape_forward_slashes: bool = ...,
+    sort_keys: bool = ...,
+    indent: int = ...,
+) -> str: ...
+def dump(
+    obj: Any,
+    fp: IO[str],
+    ensure_ascii: bool = ...,
+    double_precision: int = ...,
+    encode_html_chars: bool = ...,
+    escape_forward_slashes: bool = ...,
+    sort_keys: bool = ...,
+    indent: int = ...,
+) -> None: ...
+def decode(s: AnyStr, precise_float: bool = ...) -> Any: ...
+def loads(s: AnyStr, precise_float: bool = ...) -> Any: ...
+def load(fp: IO[AnyStr], precise_float: bool = ...) -> Any: ...