Function rustc-serialize::json::encode [-] [+] [src]

pub fn encode<T: Encodable>(object: &T) -> EncodeResult<String>

Shortcut function to encode a T into a JSON String