MCPcopy
hub / github.com/Gracker/awesome-android-ai-dev-sources / save_json

Function save_json

process_candidates.py:87–91  ·  view source on GitHub ↗
(path: Path, data: dict[str, Any])

Source from the content-addressed store, hash-verified

85
86
87def save_json(path: Path, data: dict[str, Any]) -> None:
88 path.write_text(
89 json.dumps(data, ensure_ascii=False, indent=2) + "\n",
90 encoding="utf-8",
91 )
92
93
94def norm_text(value: Any) -> str:

Callers 1

process_candidatesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected