💾 Archived View for tris.fyi › pydoc › _json captured on 2022-01-08 at 13:44:49. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
json speedups
_iterencode(obj, _current_indent_level) -> iterable
default = <member 'default' of '_json.Encoder' objects> default
encoder = <member 'encoder' of '_json.Encoder' objects> encoder
indent = <member 'indent' of '_json.Encoder' objects> indent
item_separator = <member 'item_separator' of '_json.Encoder' objects> item_separator
key_separator = <member 'key_separator' of '_json.Encoder' objects> key_separator
markers = <member 'markers' of '_json.Encoder' objects> markers
skipkeys = <member 'skipkeys' of '_json.Encoder' objects> skipkeys
sort_keys = <member 'sort_keys' of '_json.Encoder' objects> sort_keys
JSON scanner object
object_hook = <member 'object_hook' of '_json.Scanner' objects> object_hook
object_pairs_hook = <member 'object_pairs_hook' of '_json.Scanner' objects>
parse_constant = <member 'parse_constant' of '_json.Scanner' objects> parse_constant
parse_float = <member 'parse_float' of '_json.Scanner' objects> parse_float
parse_int = <member 'parse_int' of '_json.Scanner' objects> parse_int
strict = <member 'strict' of '_json.Scanner' objects> strict
encode_basestring(...) encode_basestring(string) -> string Return a JSON representation of a Python string
encode_basestring_ascii(...) encode_basestring_ascii(string) -> string Return an ASCII-only JSON representation of a Python string
scanstring(...) scanstring(string, end, strict=True) -> (string, end) Scan the string s for a JSON string. End is the index of the character in s after the quote that started the JSON string. Unescapes all valid JSON string escape sequences and raises ValueError on attempt to decode an invalid string. If strict is False then literal control characters are allowed in the string. Returns a tuple of the decoded string and the index of the character in s after the end quote.