import json


def _read_notebook_data_dict(notebook_path: str) -> dict:
    """
    Read a dictionary of notebook data.

    Parameters
    ----------
    notebook_path : str
        Path of target notebook.

    Returns
    -------
    notebook_data_dict : dict
        A dictionary of notebook data.
    """
    with open(notebook_path, 'r') as f:
        notebook_data_str: str = f.read()
    notebook_data_dict: dict = json.loads(notebook_data_str)
    return notebook_data_dict