GodsDevProject's picture
Create export_utils.py
644edd0 verified
raw
history blame contribute delete
150 Bytes
import json
def export_json(data):
path = "/tmp/results.json"
with open(path, "w") as f:
json.dump(data, f, indent=2)
return path