MCPcopy Create free account
hub / github.com/apple/ml-streambridge / save_json

Function save_json

eval/utils.py:171–173  ·  view source on GitHub ↗
(file, path)

Source from the content-addressed store, hash-verified

169 return data
170
171def save_json(file, path):
172 with open(path, 'w') as f:
173 json.dump(file, f, indent=2)
174
175def load_jsonl(path):
176 data = []

Callers 4

evaluateFunction · 0.50
evaluateFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected