pub fn decode_value<T>(value: Value) -> Result<T, Violation>where
T: DeserializeOwned + Validate,Expand description
Same as decode_payload but starting from an already parsed JSON value.
pub fn decode_value<T>(value: Value) -> Result<T, Violation>where
T: DeserializeOwned + Validate,Same as decode_payload but starting from an already parsed JSON value.