MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / loadJSON

Function loadJSON

Support/SingleFileLibs/javascript/cli.js:49–49  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

47async function readText(path) { return await fsReadFile(path, 'utf8'); }
48async function writeText(path, content) { await fsWriteFile(path, content); }
49async function loadJSON(path) { return JSON.parse(await readText(path)); }
50function listFilesRecursive(root) {
51 const results = [];
52 function walk(dir) {

Callers 1

mainFunction · 0.85

Calls 2

readTextFunction · 0.85
parseMethod · 0.45

Tested by

no test coverage detected