Function serialize::json::encode [] [src]

pub fn encode<T: Encodable>(object: &T) -> Result<String, EncoderError>
Unstable

: deprecated in favor of rustc-serialize on crates.io

Shortcut function to encode a T into a JSON String