import json


def read_json(study_dir):
    """
    Read a json file into a dictionary.
    Args:
        study_dir (str):  study_dir to json file.
    Returns:
        dictionary (dict)
    """
    with open(study_dir, 'r') as f:
        dictionary = json.load(f)
    return dictionary