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