import json


def load_json(path:str):
    """
    Loads JSON data into memory
    """
    try:
        with open(path, "r") as fd:
            return json.load(fd)
    except IOError:
        raise IOError(f"Failed to open {path}")