# coding: utf-8 # AUTO-GENERATED FILE -- DO NOT EDIT """ json speedups """ __doc__ = """json speedups """ class __loader__(object): """ Meta path import for built-in modules. All methods are either class or static methods to avoid the need to instantiate the class. """ def create_module(self, spec): """ Create a built-in module """ pass def exec_module(self, module): """ Exec a built-in module """ pass def find_module(self, fullname, path=None): """ Find the built-in module. If 'path' is ever specified then the search is considered a failure. This method is deprecated. Use find_spec() instead. """ pass def find_spec(self, fullname, path=None, target=None): pass def get_code(self, fullname): """ Return None as built-in modules do not have code objects. """ pass def get_source(self, fullname): """ Return None as built-in modules do not have source code. """ pass def is_package(self, fullname): """ Return False as built-in modules are never packages. """ pass def load_module(self, fullname): """ Load the specified module into sys.modules and return it. This method is deprecated. Use loader.exec_module instead. """ pass def module_repr(self, module): """ Return repr for the module. The method is deprecated. The import machinery does the job itself. """ pass __name__ = '_json' __package__ = '' __spec__ = None def encode_basestring(string): """ encode_basestring(string) -> string Return a JSON representation of a Python string """ return "" def encode_basestring_ascii(string): """ encode_basestring_ascii(string) -> string Return an ASCII-only JSON representation of a Python string """ return "" class make_encoder(object): """ _iterencode(obj, _current_indent_level) -> iterable """ def __init__(self, *args, **kwargs): return None default = None encoder = None indent = None item_separator = None key_separator = None markers = None skipkeys = None sort_keys = None class make_scanner(object): """ JSON scanner object """ def __init__(self, *args, **kwargs): pass object_hook = None object_pairs_hook = None parse_constant = None parse_float = None parse_int = None strict = None def scanstring(string, end, strict=True): """ 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. """ return ("", None)