vue-qs / JsonValidator
Type Alias: JsonValidator<T>
JsonValidator<
T> = ((value) =>T|null) |StandardSchemaV1<unknown,T>
Defined in: parsers.ts:341
Validates a parsed JSON value: either a function returning the value (or null / throwing when invalid), or a Standard Schema (Zod, Valibot, ArkType…).
Type Parameters
T
T