Struct serialize::json::Encoder
[−]
[src]
pub struct Encoder<'a> {
// some fields omitted
}Unstable
: deprecated in favor of rustc-serialize on crates.io
A structure for implementing serialization to JSON.
Methods
impl<'a> Encoder<'a>
fn new(writer: &'a mut Write) -> Encoder<'a>
Unstable
: deprecated in favor of rustc-serialize on crates.io
Creates a new JSON encoder whose output will be written to the writer specified.