Skip to content

@vtj


@vtj / node / readJson

Function: readJson()

Call Signature

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

Call Signature

readJson(file, callback): void

Parameters

file

Path

callback

ReadCallback

Returns

void

See

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

Defined in

packages/node/src/fs.ts:28

Call Signature

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

Parameters

file

Path

options?

JFReadOptions

Returns

Promise<any>

See

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

Defined in

packages/node/src/fs.ts:28

Released under the MIT License.