Function warp::filters::body::json[][src]

pub fn json<T: DeserializeOwned + Send>(
) -> impl Filter<Extract = (T,), Error = Rejection> + Copy

Returns a Filter that matches any request and extracts a Future of a JSON-decoded body.