Struct serialize::json::AsPrettyJson [] [src]

pub struct AsPrettyJson<'a, T: 'a> {
    // some fields omitted
}
Unstable

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

Methods

impl<'a, T> AsPrettyJson<'a, T>

fn indent(self, indent: usize) -> AsPrettyJson<'a, T>

Unstable

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

Set the indentation level for the emitted JSON

Trait Implementations

impl<'a, T: Encodable> Display for AsPrettyJson<'a, T>

fn fmt(&self, f: &mut Formatter) -> Result