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