import json


def load_json(path):
    """ Load a json file from path.

    Parameters
    ----------
    path : str
        Path to json file.

    Returns
    -------
    dict
        Data from the json file.

    """
    with open(path) as json_f:
        data = json.load(json_f)
    return data