code: def test_json_params():
      params_file = work_path("params.josn")
      params = {
          "source_root": SOURCE_ROOT,
          "project_path": PROJECT_PATH,
          "output_path": OUTPUT_PATH,
          "report_file": REPORT_FILE,
          "lint_name": LINT_NAME,
          "depends": DEPS,
          "global_resources": GLOBAL_RESOURCES,
          "configs": CONFIGS,
          "extra_params": EXTRA_PARAMS,
          "files": FILES,
      }
      with open(params_file, "w") as f:
          json.dump(params, f)
  
      got = linter_params.get_params(["--params", params_file])
  
      assert got == EXPECTED
  
imports: import json
  from library.python.testing.custom_linter_util import linter_params
  from yatest.common import work_path
label_desc: Use image node_id 2 for calling a global function with example usage: test_json_params() without return types