# AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/05_utils.ipynb. # %% auto 0 __all__ = ['load_json', 'dump_json'] # %% ../nbs/05_utils.ipynb 3 import json # %% ../nbs/05_utils.ipynb 4 def load_json(file_path): with open(file_path, "r") as file: return json.load(file) # %% ../nbs/05_utils.ipynb 5 def dump_json(data, path: str): with open(path, "w") as fp: return json.dump(data, fp, indent=2)