MCPcopy Index your code
hub / github.com/omkarcloud/botasaurus / write_json

Function write_json

botasaurus/utils.py:50–52  ·  view source on GitHub ↗
(data, path,  indent=4)

Source from the content-addressed store, hash-verified

48 return content
49
50def write_json(data, path, indent=4):
51 with open(path, 'w', encoding="utf-8") as fp:
52 json.dump(data, fp, indent=indent)
53
54
55def uniquify_strings(strs):

Callers 4

writeMethod · 0.70
write_linksMethod · 0.70
write_sitemapsMethod · 0.70
write_outputFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected