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