MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / save_json

Function save_json

Scripts/Developer Base/Free Internet.py:201–202  ·  view source on GitHub ↗
(path: Path, obj)

Source from the content-addressed store, hash-verified

199
200
201def save_json(path: Path, obj) -> None:
202 path.write_text(json.dumps(obj, ensure_ascii=False, indent=2), encoding="utf-8")
203
204
205def safe_file_stem(value: str, fallback: str = "file") -> str:

Callers 10

save_browser_prefsFunction · 0.70
history_itemsFunction · 0.70
add_historyFunction · 0.70
add_bookmarkFunction · 0.70
save_proxy_stateFunction · 0.70
fetch_proxy_poolFunction · 0.70
browser_proxy_refreshFunction · 0.70
browser_clearFunction · 0.70
browser_delete_bookmarkFunction · 0.70
browser_delete_historyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected