MCPcopy Create free account
hub / github.com/RingBDStack/GDAP / save_json

Function save_json

seq2seq/utils.py:456–458  ·  view source on GitHub ↗
(content, path, indent=4, **json_dump_kwargs)

Source from the content-addressed store, hash-verified

454
455
456def save_json(content, path, indent=4, **json_dump_kwargs):
457 with open(path, "w") as f:
458 json.dump(content, f, indent=indent, sort_keys=True, **json_dump_kwargs)
459
460
461def load_json(path):

Callers 1

save_git_infoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected