[−][src]Function grin_api::json_response
pub fn json_response<T>(s: &T) -> ResponseFuture where
T: Serialize,
Utility to serialize a struct into JSON and produce a sensible Response out of it.
pub fn json_response<T>(s: &T) -> ResponseFuture where
T: Serialize,
Utility to serialize a struct into JSON and produce a sensible Response out of it.