Home > @rushstack/node-core-library > JsonFile > validateNoUndefinedMembers
JsonFile.validateNoUndefinedMembers() method
Used to validate a data structure before writing. Reports an error if there are any undefined members.
Signature:
static validateNoUndefinedMembers(jsonObject: JsonObject): void;
Parameters
Parameter | Type | Description |
---|---|---|
jsonObject | JsonObject |
Returns:
void