CommonValidatorFunctions.isJsonSafe()
Home > @backstage/catalog-model
> CommonValidatorFunctions
> isJsonSafe
Checks that the value can be safely transferred as JSON.
Signature:
static isJsonSafe(value: unknown): boolean;
Parameters
Parameter |
Type |
Description |
---|---|---|
value |
unknown |
The value to check |
boolean