MCPcopy Create free account
hub / github.com/ding113/claude-code-hub / loadJSON

Function loadJSON

scripts/sync-settings-keys.js:68–70  ·  view source on GitHub ↗
(p)

Source from the content-addressed store, hash-verified

66}
67
68function loadJSON(p) {
69 return JSON.parse(fs.readFileSync(p, "utf8"));
70}
71
72function saveJSON(p, data) {
73 fs.writeFileSync(p, `${JSON.stringify(data, null, 2)}\n`, "utf8");

Callers 3

loadSplitSettingsFunction · 0.85
ensureSettingsFunction · 0.85

Calls 1

parseMethod · 0.80

Tested by

no test coverage detected