writeJson
Signatures
writeJson(tree: Tree, path: string, value: T, options: JsonSerializeOptions): void
Writes a JSON value to the file system tree
Parameters
- tree:
Tree
- File system tree - path:
string
- Path of JSON file in the Tree - value:
T
- Serializable value to write - options:
JsonSerializeOptions
- Optional JSON Serialize Options