[][src]Function tide::response::json

pub fn json<T: Serialize>(t: T) -> Response

Serialize t into a JSON-encoded response.