MCPcopy
hub / github.com/blackboxo/CleanMyWechat / save_json

Function save_json

main.py:136–138  ·  view source on GitHub ↗
(path, data)

Source from the content-addressed store, hash-verified

134
135
136def save_json(path, data):
137 with open(path, "w", encoding="utf-8") as f:
138 json.dump(data, f, ensure_ascii=False, indent=2)
139
140
141def format_size(size):

Callers 6

load_config_fileFunction · 0.85
open_fileMethod · 0.85
create_configMethod · 0.85
callbackMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected