from typing import Union
from pathlib import Path
from typing import Dict
import json


def read_json(json_path: Union[str, Path]) -> Dict:
    """
    Read json file from a path.

    Args:
        json_path: File path to a json file.

    Returns:
        Python dictionary
    """
    with open(json_path, "r") as fp:
        data = json.load(fp)
    return data