Function ron::ser::to_string [] [src]

pub fn to_string<T>(value: &T) -> Result<String> where
    T: Serialize

Serializes value and returns it as string.

This function does not generate any newlines or nice formatting; if you want that, you can use pretty::to_string instead.