import json


def get_data(json_file):
    """
    Given a json file return a dictionary of the data inside
    The format of file should be { q1: a1, q2: a2 }
    :param json_file:
    :return dictionary of the json data:
    """
    with open(json_file, 'r') as q_a:
        q_a_data = json.loads(q_a.read())
    return q_a_data