in emoclassifiers/io_utils.py [0:0]
def save_json(data: dict, path: str): """ Save a JSON file. """ with open(path, 'w') as f: json.dump(data, f)