1 from typing import Any, Callable
3 class JSONDecodeError(ValueError):
9 def __init__(self, msg: str, doc: str, pos: int) -> None: ...
12 object_hook: Callable[[dict[str, Any]], Any]
13 parse_float: Callable[[str], Any]
14 parse_int: Callable[[str], Any]
15 parse_constant: Callable[[str], Any]
17 object_pairs_hook: Callable[[list[tuple[str, Any]]], Any]
21 object_hook: Callable[[dict[str, Any]], Any] | None = ...,
22 parse_float: Callable[[str], Any] | None = ...,
23 parse_int: Callable[[str], Any] | None = ...,
24 parse_constant: Callable[[str], Any] | None = ...,
26 object_pairs_hook: Callable[[list[tuple[str, Any]]], Any] | None = ...,
28 def decode(self, s: str, _w: Callable[..., Any] = ...) -> Any: ... # _w is undocumented
29 def raw_decode(self, s: str, idx: int = ...) -> tuple[Any, int]: ...