Skip to main content

impl_vld_parse

Macro impl_vld_parse 

Source
macro_rules! impl_vld_parse {
    ($($t:tt)*) => { ... };
}
Available on crate feature schemars-1 only.
Expand description

Implement vld::schema::VldParse and SchemarsValidate for a type that derives schemars::JsonSchema, serde::Serialize and serde::Deserialize: impl_vld_parse!(T). The value is validated against the type’s schemars schema, then deserialized. See the module docs.