code: def parse_json(text, path, **kwargs):
      with reraise(json.JSONDecodeError, JSONFileCorruptedError(path)):
          return json.loads(text, **kwargs) or {}
  
file_path: dvc/dvc/utils/serialize/_json.py
imports: import json
  from funcy import contextmanager, reraise
  from ._common import ParseError, _dump_data, _load_data, _modify_data
label_desc: Use image node_id 2 for calling a global function with example usage: parse_json(text, path) and returns: unknown