Skip to content
Nx Cloud CI is in private beta 10.6× faster average CI time with 79% less compute. Join the beta

▸ 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