import json


def load_profiling_details(json_path: str) -> dict:
    """Load profiling details from json."""
    with open(json_path, "r") as json_file:
        data = json.load(json_file)
    return data