def load_json()

in admin/refresh_spdx/add_licenses.py [0:0]


def load_json(path):
  """Loads a JSON file and returns the data.

  Args:
    path: (str) a file path.
  Returns:
    (dict) the parsed data.
  """
  with open(path, 'r') as fp:
    ret = json.load(fp)
  return ret