Skip to content

@vtjDocs


@vtj / node / readJson

Function: readJson()

readJson(file, options, callback)

readJson(file, options, callback): void

Parameters

file: Path

options: JFReadOptions

callback: ReadCallback

Returns

void

See

https://github.com/jprichardson/node-jsonfile#readfilefilename-options-callback

Defined in

packages/node/src/fs.ts:28

readJson(file, callback)

readJson(file, callback): void

Parameters

file: Path

callback: ReadCallback

Returns

void

Defined in

packages/node/src/fs.ts:28

readJson(file, options)

readJson(file, options?): Promise<any>

Parameters

file: Path

options?: JFReadOptions

Returns

Promise<any>

Defined in

packages/node/src/fs.ts:28

Released under the MIT License.