Skip to content

jsonValueSchema

const jsonValueSchema: v.GenericSchema<JsonValue>;

Defined in: src/util/validation.ts:114

A valibot schema for a JSON value. Numbers must be finite: NaN and ±Infinity would silently serialise to null.