Function: readJson

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

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

Type parameters

NameType
Textends object = any

Parameters

NameTypeDescription
treeTreefile system tree
pathstringfile path
options?JsonParseOptionsOptional JSON Parse Options

Returns

T