Skip to content
AI Monorepos Free online conference · June 23 Join us!

readJson<T>(tree, path, options?): T

Reads a json file, removes all comments and parses JSON.

NameType
Textends object = any
NameTypeDescription
treeTreefile system tree
pathstringfile path
options?JsonParseOptionsOptional JSON Parse Options

T