Struct serialize::json::PrettyEncoder[src]
pub struct PrettyEncoder<'a> {
// some fields omitted
}Another encoder for JSON, but prints out human-readable JSON instead of compact data
Methods
impl<'a> PrettyEncoder<'a>
fn new<'a>(wr: &'a mut Writer) -> PrettyEncoder<'a>
Creates a new encoder whose output will be written to the specified writer