Home > @rushstack/node-core-library > JsonFile > parseString
JsonFile.parseString() method
Parses a JSON file's contents.
Signature:
static parseString(jsonContents: string, options?: IJsonFileParseOptions): JsonObject;
Parameters
Parameter | Type | Description |
|---|---|---|
jsonContents | string | |
options | (Optional) |
Returns: