Home > @rushstack/node-core-library > JsonFile > loadAsync
JsonFile.loadAsync() method
An async version of JsonFile.load().
Signature:
static loadAsync(jsonFilename: string, options?: IJsonFileParseOptions): Promise<JsonObject>;
Parameters
Parameter | Type | Description |
---|---|---|
jsonFilename | string | |
options | IJsonFileParseOptions | (Optional) |
Returns:
Promise<JsonObject>