Lines Matching full:json
1 // Build all.json by combining the miscs, modules, classes, globals, and methods
2 // from the generated json files.
10 .filter((name) => name.includes('.json') && name !== 'all.json');
26 const seen = new Set(['all.json', 'index.json']);
29 // Expand hrefs found in json to include source HTML file.
32 const json = href.replace('.html', '.json');
33 if (!jsonFiles.includes(json) || seen.has(json)) continue;
34 const data = JSON.parse(
35 fs.readFileSync(new URL(`./${json}`, source), 'utf8')
49 seen.add(json);
53 fs.writeFileSync(new URL('./all.json', source),
54 `${JSON.stringify(results, null, 2)}\n`, 'utf8');