Skip to content

Vault.readJson method

Vault › readJson

Unofficial

Read a config file (full path) from the vault and parse it as JSON.

Signature:

readJson(path: string): Promise<null | object>

Parameters:

Parameter Type Description
path string Full path to config file.

Returns: Promise<null | object>The parsed JSON object, or null if not found.