code: def test_get_json(self):
      json_path = cwd / "config_files/test_files/test_json.json"
      content = get_json_content(str(json_path))
      self.assertEqual(content, {"field": "test"})
  
file_path: nni/test/ut/tools/nnictl/test_common_utils.py
imports: from pathlib import Path
  from subprocess import Popen, PIPE, STDOUT
  import sys
  from unittest import TestCase, main, skipIf
  from mock.restful_server import init_response
  from nni.tools.nnictl.command_utils import kill_command
  from nni.tools.nnictl.common_utils import get_yml_content, get_json_content, detect_process
label_desc: Use image node_id 3 for calling the CommonUtilsTestCase obj's underlying member method code with example usage: obj.test_get_json() without return types