tide::response
pub fn json<T: Serialize>(t: T) -> Response
Serialize t into a JSON-encoded response.
t