Function serialize::json::as_json [] [src]

pub fn as_json<T>(t: &T) -> AsJson<T>
Unstable

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

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