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

pub fn encode<T: Encodable>(object: &T) -> Result<StringEncoderError>
Unstable (rustc_private)

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

Shortcut function to encode a T into a JSON String