Trait validators::traits::ValidateJsonValue
source · pub trait ValidateJsonValue {
type Error;
type Output;
fn parse_json_value(v: Value) -> Result<Self::Output, Self::Error>;
fn validate_json_value(v: Value) -> Result<(), Self::Error>;
}
Expand description
Validate and deserialize Value
s.