Skip to content

Signatures

readJson(tree: Tree, path: string, options: JsonParseOptions): T

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

Parameters

  • tree: Tree - file system tree
  • path: string - file path
  • options: JsonParseOptions - Optional JSON Parse Options