| hide_title | true |
|---|---|
| custom_edit_url | |
| pagination_prev | |
| pagination_next |
Home > @rushstack/node-core-library > JsonSchema > validateObjectWithCallback
Validates the specified JSON object against this JSON schema. If the validation fails, a callback is called for each validation error.
Signature:
validateObjectWithCallback(jsonObject: JsonObject, errorCallback: (errorInfo: IJsonSchemaErrorInfo) => void, options?: IJsonSchemaValidateObjectWithOptions): void;|
Parameter |
Type |
Description |
|---|---|---|
|
jsonObject | ||
|
errorCallback |
(errorInfo: IJsonSchemaErrorInfo<></>) => void | |
|
options |
(Optional) |
Returns:
void