import sys from typing import Any, Callable, Dict, List, Optional, Tuple if sys.version_info >= (3, 5): class JSONDecodeError(ValueError): msg: str doc: str pos: int lineno: int colno: int def __init__(self, msg: str, doc: str, pos: int) -> None: ... class JSONDecoder: object_hook = ... # type: Callable[[Dict[str, Any]], Any] parse_float = ... # type: Callable[[str], Any] parse_int = ... # type: Callable[[str], Any] parse_constant = ... # Callable[[str], Any] strict = ... # type: bool object_pairs_hook = ... # type: Callable[[List[Tuple[str, Any]]], Any] def __init__(self, object_hook: Optional[Callable[[Dict[str, Any]], Any]] = ..., parse_float: Optional[Callable[[str], Any]] = ..., parse_int: Optional[Callable[[str], Any]] = ..., parse_constant: Optional[Callable[[str], Any]] = ..., strict: bool = ..., object_pairs_hook: Optional[Callable[[List[Tuple[str, Any]]], Any]] = ...) -> None: ... def decode(self, s: str) -> Any: ... def raw_decode(self, s: str, idx: int = ...) -> Tuple[Any, int]: ...