Struct json::encoder::Encoder [] [src]

pub struct Encoder<W> { /* fields omitted */ }

JSON encoder over any Write-type.

Methods

impl<W: Write> Encoder<W>
[src]

Begin encoding a new JSON array.

Must be paired with a call to Encoder::end().

Begin encoding a new JSON object.

Must be paired with a call to Encoder::end().

End a JSON array or object.