Function serialize::json::as_pretty_json [] [src]

pub fn as_pretty_json<T>(t: &T) -> AsPrettyJson<T>
Unstable

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

Create an AsPrettyJson wrapper which can be used to print a value as JSON on-the-fly via write!