import json


def read_json(file_name_with_path: str) -> dict:
    """read_json function

    Args:
        file_name_with_path (string): file name of json with path

    Returns:
        dict: json dict data

    Examples:
        >>> print(read_json("./name.json"))
        {name: "Masumi"}
    """
    json_open = open(file_name_with_path, 'r')
    return json.load(json_open)