chore: debug_heron.py: Save exported json with pretty format

Signed-off-by: Nikos Livathinos <nli@zurich.ibm.com>
This commit is contained in:
Nikos Livathinos
2025-08-27 18:19:52 +02:00
parent 32461ff258
commit 7debe3d5ec

View File

@@ -85,7 +85,7 @@ def main():
print(f"Out dir: {out_dir}") print(f"Out dir: {out_dir}")
with open(save_fn, "w") as fd: with open(save_fn, "w") as fd:
dd = doc.export_to_dict() dd = doc.export_to_dict()
json.dump(dd, fd) json.dump(dd, fd, indent=2, sort_keys=True)
# Move the debug dir # Move the debug dir
debug_dir = Path("debug/") debug_dir = Path("debug/")