code: def mock_json_load():
      mock = MagicMock()
  
      with patch("json.load", mock):
          yield mock
  
label_desc: Use image node_id 1 for calling a global function with example usage: mock_json_load() without return types