import json


def get_json_from_file(file_path):
    """
    Get json data from file wich placed on file_path as dict

    :param file_path: path to json file
    :return: json data as dict from file
    """

    # get json bytes from json file
    json_file = open(file_path, 'r')
    # convert json bytes to python dict
    json_data_as_dict = json.load(json_file)
    # close json file
    json_file.close()
    # return json data as dict
    return json_data_as_dict