hack-house/.venv/lib/python3.12/site-packages/ujson-stubs/__init__.pyi
leetcrypt bb1d662ee1 chore: rename project coven → hack-house ⛧
Rebrand the Rust client crate (coven/ → hh/, package+binary "hack-house"),
README, CLI strings, and branch (coven → hack-house). Gitea repo renamed
cmd-chat → hack-house to match. Crypto/server logic unchanged; selftest +
golden-vector test still green, binary is now `hack-house`.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-30 13:29:14 -07:00

57 lines
1.6 KiB
Python

from collections.abc import Callable
from typing import Any, Final
from _typeshed import SupportsRead, SupportsWrite
__version__: Final[str]
def encode(
obj: Any,
ensure_ascii: bool = ...,
encode_html_chars: bool = ...,
escape_forward_slashes: bool = ...,
sort_keys: bool = ...,
indent: int = ...,
allow_nan: bool = ...,
reject_bytes: bool = ...,
default: (
Callable[[Any], Any] | None
) = None, # Specify how to serialize arbitrary types
separators: tuple[str, str] | None = None,
) -> str: ...
def dumps(
obj: Any,
ensure_ascii: bool = ...,
encode_html_chars: bool = ...,
escape_forward_slashes: bool = ...,
sort_keys: bool = ...,
indent: int = ...,
allow_nan: bool = ...,
reject_bytes: bool = ...,
default: (
Callable[[Any], Any] | None
) = None, # Specify how to serialize arbitrary types
separators: tuple[str, str] | None = None,
) -> str: ...
def dump(
obj: Any,
fp: SupportsWrite[str],
*,
ensure_ascii: bool = ...,
encode_html_chars: bool = ...,
escape_forward_slashes: bool = ...,
sort_keys: bool = ...,
indent: int = ...,
allow_nan: bool = ...,
reject_bytes: bool = ...,
default: (
Callable[[Any], Any] | None
) = None, # Specify how to serialize arbitrary types
separators: tuple[str, str] | None = None,
) -> None: ...
def decode(s: str | bytes | bytearray) -> Any: ...
def loads(s: str | bytes | bytearray) -> Any: ...
def load(fp: SupportsRead[str | bytes | bytearray]) -> Any: ...
class JSONDecodeError(ValueError): ...