def get_data(img_pth: Union[(str, os.PathLike)]) -> dict:
    'Get a single data from the given file.json path'
    with open(img_pth, 'r') as f:
        data = json.load(f)
    return data
Get a single data from the given file.json path
def get_data(img_pth: Union[(str, os.PathLike)]) -> dict:
    
    with open(img_pth, 'r') as f:
        data = json.load(f)
    return data