DeserializeOptions interface

The options to the deserialize method.

Properties

validateCallback

Validate the value against the schema. Raise an error if the validation is not successful.

Property Details

validateCallback

Validate the value against the schema. Raise an error if the validation is not successful.

validateCallback?: (value: unknown, schema: string) => void

Property Value

(value: unknown, schema: string) => void