import json


def import_json(input_filepath):
    """Import a dictionary from a JSON file

    :param input_filepath: Path to a JSON file

    :return: dictionary extracted from the JSON file
    """
    with input_filepath.open('r') as f:
        d = json.loads(f.read())
    return d