JsonValidator
type JsonValidator<T> = | StandardSchemaV1<unknown, T> | ((value) => T);Defined in: tanstack/core/built-in-parsers.ts:383
Runtime validator for parseAsJson: a Standard Schema or a function that returns the value or throws.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
T |