Skip to main content

Crate json_schema_fuzz

Crate json_schema_fuzz 

Source
Expand description

Schema-guided JSON value generation for json_schema_ast documents.

The generator walks the canonicalized SchemaNode graph to produce candidates, then validates them with SchemaDocument::is_valid() so raw backend validation remains the source of truth. The public entry point is ValueGenerator::generate; GenerationConfig controls recursion depth and retry budget, and GenerateError distinguishes invalid schemas, deterministic unsatisfiability, and heuristic retry exhaustion.

Structs§

GenerationConfig
Explicit generation controls used by the document-level fuzzer API.
ValueGenerator
Namespace for schema-guided JSON value generation.

Enums§

GenerateError
Errors returned by ValueGenerator::generate.