import json


def load_json(path: str, encoding='utf-8'):
    """
    Load the json file, which will return a dictionary.
    """

    with open(path, 'r', encoding=encoding) as f:
        return json.load(f)