class_docstr: Simple JSON <https://json.org> decoder
  
  Performs the following translations in decoding by default:
  
  +---------------+-------------------+
  | JSON          | Python            |
  +===============+===================+
  | object        | dict              |
  +---------------+-------------------+
  | array         | list              |
  +---------------+-------------------+
  | string        | str               |
  +---------------+-------------------+
  | number (int)  | int               |
  +---------------+-------------------+
  | number (real) | float             |
  +---------------+-------------------+
  | true          | True              |
  +---------------+-------------------+
  | false         | False             |
  +---------------+-------------------+
  | null          | None              |
  +---------------+-------------------+
  
  It also understands ``NaN``, ``Infinity``, and ``-Infinity`` as
  their corresponding ``float`` values, which is outside the JSON spec.
class_docstr_tok: ["Simple","JSON","<","https",":","\/\/json.org",">","decoder","Performs","the","following","translations","in","decoding","by","default",":","+","--","--","--","--","--","--","--","-+","--","--","--","--","--","--","--","--","--","-+","|","JSON","|","Python","|","+===============+===================+","|","object","|","dict","|","+","--","--","--","--","--","--","--","-+","--","--","--","--","--","--","--","--","--","-+","|","array","|","list","|","+","--","--","--","--","--","--","--","-+","--","--","--","--","--","--","--","--","--","-+","|","string","|","str","|","+","--","--","--","--","--","--","--","-+","--","--","--","--","--","--","--","--","--","-+","|","number","(","int",")","|","int","|","+","--","--","--","--","--","--","--","-+","--","--","--","--","--","--","--","--","--","-+","|","number","(","real",")","|","float","|","+","--","--","--","--","--","--","--","-+","--","--","--","--","--","--","--","--","--","-+","|","true","|","True","|","+","--","--","--","--","--","--","--","-+","--","--","--","--","--","--","--","--","--","-+","|","false","|","False","|","+","--","--","--","--","--","--","--","-+","--","--","--","--","--","--","--","--","--","-+","|","null","|","None","|","+","--","--","--","--","--","--","--","-+","--","--","--","--","--","--","--","--","--","-+","It","also","understands","``","NaN","``",",","``","Infinity","``",",","and","``","-Infinity","``","as","their","corresponding","``","float","``","values",",","which","is","outside","the","JSON","spec","."]
docstr: Return the Python representation of ``s`` (a ``str`` instance
  containing a JSON document).
docstr_tok: ["Return","the","Python","representation","of","``","s","``","(","a","``","str","``","instance","containing","a","JSON","document",")","."]
code: def decode(self, s, _w=WHITESPACE.match):
      """Return the Python representation of ``s`` (a ``str`` instance
      containing a JSON document).
  
      """
      obj, end = self.raw_decode(s, idx=_w(s, 0).end())
      end = _w(s, end).end()
      if end != len(s):
          raise JSONDecodeError("Extra data", s, end)
      return obj
  
file_path: cpython/Lib/json/decoder.py
imports: import re
  from json import scanner
label_desc: Use image node_id 2 for calling the JSONDecoder obj's underlying member method code with example usage: obj.decode(s, _w) and returns: obj