Struct rustc-serialize::json::Parser
[-] [+]
[src]
pub struct Parser<T> { // some fields omitted }
A streaming JSON parser implemented as an iterator of JsonEvent, consuming an iterator of char.
Methods
impl<T: Iterator<Item=char>> Parser<T>
fn new(rdr: T) -> Parser<T>
Creates the JSON parser.
fn stack<'l>(&'l self) -> &'l Stack
Provides access to the current position in the logical structure of the JSON stream.