Struct rustc_serialize::json::Builder [−][src]
pub struct Builder<T> { /* fields omitted */ }
A Builder consumes a json::Parser to create a generic Json structure.
Methods
impl<T: Iterator<Item = char>> Builder<T>
[src]
impl<T: Iterator<Item = char>> Builder<T>
pub fn new(src: T) -> Builder<T>
[src]
pub fn new(src: T) -> Builder<T>
Create a JSON Builder.
pub fn build(&mut self) -> Result<Json, BuilderError>
[src]
pub fn build(&mut self) -> Result<Json, BuilderError>