Skip to main content

Module validator

Module validator 

Source
Expand description

JSON Schema validation: schema + instance → validation result with all errors.

Collects every validation error (no fail-fast) and returns them in a single result.

Structs§

OrderedF64
Wraps f64 so that ValidationError can derive Eq (f64 is not Eq; comparison is by bits).

Enums§

ValidationError
A single validation failure: kind and instance location.

Functions§

validate
Validates a JSON instance against a schema. Collects all validation errors and returns them in a single result (no fail-fast).

Type Aliases§

ValidationResult