import json


def read_json(filepath: str):
    """
    Reads a json file, and returns the data as a dict or list
    """
    with open(filepath, "r") as f:
        data = json.load(f)
    return data