<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_dict_from_json_file(path, encoding='utf-8'):
 """Gets a dict of data form a json file. :param path: the absolute path to the file :param encoding: the encoding the file is in """

    with open(path, encoding=encoding) as data_file:
        return json.loads(data_file.read())