Function serialize::json::as_pretty_json
[−]
[src]
pub fn as_pretty_json<T>(t: &T) -> AsPrettyJson<T>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Create an AsPrettyJson
wrapper which can be used to print a value as JSON
on-the-fly via write!