MCPcopy
hub / github.com/Fokkyp/SoftwareCopyright-Skill / read_json

Function read_json

software-copyright-materials/scripts/common.py:211–212  ·  view source on GitHub ↗
(path: Path)

Source from the content-addressed store, hash-verified

209
210
211def read_json(path: Path) -> dict[str, Any]:
212 return json.loads(read_text(path))
213
214
215def write_json(path: Path, data: Any) -> None:

Callers 15

load_json_or_emptyFunction · 0.90
confirm_businessFunction · 0.90
confirm_code_selectionFunction · 0.90
confirm_markdownFunction · 0.90
mainFunction · 0.90
load_packageFunction · 0.90
check_environment_gateFunction · 0.90
load_model_contextFunction · 0.90
mainFunction · 0.90
read_json_if_existsFunction · 0.90
load_selected_filesFunction · 0.90

Calls 1

read_textFunction · 0.85

Tested by

no test coverage detected