[−][src]Trait qjsonrs::JsonTokenIterator
Trait for an iterator over JsonTokens.
Required methods
fn advance(&mut self) -> Result<(), Error>
Advance to the next token.
fn get<'a>(&'a self) -> Option<JsonToken<'a>>
Get the current token, or None if the stream is exhausted.
Provided methods
fn next<'a>(&'a mut self) -> Result<Option<JsonToken<'a>>, Error>
Advance to the next token, then get the current token.
Implemented as a call to advance()
and then get()
Implementors
impl<R: Read> JsonTokenIterator for JsonStream<R>
[src]
impl<R: Read> JsonTokenIterator for JsonStream<R>