Function rustc_serialize::json::encode
source · pub fn encode<T: Encodable>(object: &T) -> EncodeResult<String>
Expand description
Shortcut function to encode a T
into a JSON String
pub fn encode<T: Encodable>(object: &T) -> EncodeResult<String>
Shortcut function to encode a T
into a JSON String