import io
import json


def util_load_json(path: str) -> dict:
    """Load json file to dict object

    Args:
        path (str): The path of the file

    Returns:
        dict: The JSON data from the file
    """
    with io.open(path, mode='r', encoding='utf-8') as file:
        return json.loads(file.read())