code: def _decode_uXXXX(s, pos):
      esc = s[pos + 1 : pos + 5]
      if len(esc) == 4 and esc[1] not in "xX":
          try:
              return int(esc, 16)
          except ValueError:
              pass
      msg = "Invalid \\uXXXX escape"
      raise JSONDecodeError(msg, s, pos)
  
file_path: catboost/contrib/tools/python3/src/Lib/json/decoder.py
imports: import re
  from json import scanner
label_desc: Use image node_id 1 for calling a global function with example usage: _decode_uXXXX(s, pos) and returns: int