Skip to main content

Module pipeline

Module pipeline 

Source
Expand description

The complete validation pipeline: prepare → deserialize → validate.

Functions§

error_value
Convenience: turn a ValidationError into its JSON body.
parse_json
Parse JSON text through the pipeline.
parse_value
Validate raw input and build a T (Pydantic model_validate).
text_pairs_to_value
Convert text key/value pairs (query string, form) into a JSON object. Repeated keys become arrays, so Vec fields receive every value.
validate
Run only the post-deserialization checks on an existing value.