[][src]Function httptest::mappers::json_decoded

pub fn json_decoded<M>(inner: M) -> JsonDecoded<M>

json decode the input and pass the resulting serde_json::Value to the next mapper.

If the input can't be decoded a serde_json::Value::Null is passed to the next mapper.