class_docstr: Simple JSON <http://json.org> decoder
  
  Performs the following translations in decoding by default:
  
  +---------------+-------------------+
  | JSON          | Python            |
  +===============+===================+
  | object        | dict              |
  +---------------+-------------------+
  | array         | list              |
  +---------------+-------------------+
  | string        | str, unicode      |
  +---------------+-------------------+
  | number (int)  | int, long         |
  +---------------+-------------------+
  | 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`` or ``unicode``
  instance containing a JSON document)
docstr_tok: ["Return","the","Python","representation","of","``","s","``","(","a","``","str","``","or","``","unicode","``","instance","containing","a","JSON","document",")"]
code: def decode(self, s, _w=WHITESPACE.match, _PY3=PY3):
      """Return the Python representation of ``s`` (a ``str`` or ``unicode``
      instance containing a JSON document)
  
      """
      if _PY3 and isinstance(s, bytes):
          s = str(s, self.encoding)
      obj, end = self.raw_decode(s)
      end = _w(s, end).end()
      if end != len(s):
          raise JSONDecodeError("Extra data", s, end, len(s))
      return obj
  
file_path: catboost/contrib/python/simplejson/py3/simplejson/decoder.py
imports: from __future__ import absolute_import
  import re
  import sys
  import struct
  from .compat import PY3, unichr
  from .scanner import make_scanner, JSONDecodeError
label_desc: Use image node_id 2 for calling the JSONDecoder obj's underlying member method code with example usage: obj.decode(s, _w, _PY3) and returns: obj