API Reference / Classes / json / JSONDecoder JSONDecoder Standard library class json.JSONDecoder View source class JSONDecoder class JSONDecoder Fields 2 strict bool max_depth int Constructors 1 __init__ __init__(self: Self, *, strict: bool = True, max_depth: int = 512) Defined in json Methods 2 raw_decode raw_decode(self: Self, source: str, idx: int = 0) -> Tuple[(JSON, int)] Defined in json decode decode(self: Self, source: str) -> JSON Defined in json
class JSONDecoder class JSONDecoder Fields 2 strict bool max_depth int Constructors 1 __init__ __init__(self: Self, *, strict: bool = True, max_depth: int = 512) Defined in json Methods 2 raw_decode raw_decode(self: Self, source: str, idx: int = 0) -> Tuple[(JSON, int)] Defined in json decode decode(self: Self, source: str) -> JSON Defined in json