{
    "mode": "pydoc",
    "parameter": "_json",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/pydoc/_json/json",
    "generated": "2026-06-02T14:16:20Z",
    "sections": {
        "NAME": {
            "content": "json - json speedups\n",
            "subsections": []
        },
        "MODULE REFERENCE": {
            "content": "https://docs.python.org/3.10/library/json.html\n\nThe following documentation is automatically generated from the Python\nsource files.  It may be incomplete, incorrect or include features that\nare considered implementation detail and may vary between Python\nimplementations.  When in doubt, consult the module reference at the\nlocation listed above.\n",
            "subsections": []
        },
        "CLASSES": {
            "content": "builtins.object\nEncoder\nScanner\n\nmakeencoder = class Encoder(builtins.object)\n|  iterencode(obj, currentindentlevel) -> iterable\n|\n|  Methods defined here:\n|\n|  call(self, /, *args, kwargs)\n|      Call self as a function.\n|\n|  ----------------------------------------------------------------------\n|  Static methods defined here:\n|\n|  new(*args, kwargs) from builtins.type\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  default\n|      default\n|\n|  encoder\n|      encoder\n|\n|  indent\n|      indent\n|\n|  itemseparator\n|      itemseparator\n|\n|  keyseparator\n|      keyseparator\n|\n|  markers\n|      markers\n|\n|  skipkeys\n|      skipkeys\n|\n|  sortkeys\n|      sortkeys\n\nmakescanner = class Scanner(builtins.object)\n|  JSON scanner object\n|\n|  Methods defined here:\n|\n|  call(self, /, *args, kwargs)\n|      Call self as a function.\n|\n|  ----------------------------------------------------------------------\n|  Static methods defined here:\n|\n|  new(*args, kwargs) from builtins.type\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  objecthook\n|      objecthook\n|\n|  objectpairshook\n|\n|  parseconstant\n|      parseconstant\n|\n|  parsefloat\n|      parsefloat\n|\n|  parseint\n|      parseint\n|\n|  strict\n|      strict\n",
            "subsections": []
        },
        "FUNCTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "encode_basestring",
                    "content": "encodebasestring(string) -> string\n\nReturn a JSON representation of a Python string\n"
                },
                {
                    "name": "encode_basestring_ascii",
                    "content": "encodebasestringascii(string) -> string\n\nReturn an ASCII-only JSON representation of a Python string\n"
                },
                {
                    "name": "scanstring",
                    "content": "scanstring(string, end, strict=True) -> (string, end)\n\nScan the string s for a JSON string. End is the index of the\ncharacter in s after the quote that started the JSON string.\nUnescapes all valid JSON string escape sequences and raises ValueError\non attempt to decode an invalid string. If strict is False then literal\ncontrol characters are allowed in the string.\n\nReturns a tuple of the decoded string and the index of the character in s\nafter the end quote.\n"
                }
            ]
        },
        "FILE": {
            "content": "/usr/lib/python3.10/lib-dynload/json.cpython-310-x8664-linux-gnu.so\n\n",
            "subsections": []
        }
    },
    "summary": "json - json speedups",
    "flags": [],
    "examples": [],
    "see_also": []
}