Struct yajlish::Parser[][src]

pub struct Parser<'a, H> { /* fields omitted */ }
Expand description

Main Parser struct.

Implementations

Construct a new Parser from a Handler.

Parse until Handler method returns Abort or EOF.

Errors
  • Will return an error Result if the JSON is malformed, or if the underlying Reader returns an error.

Parse has already returned from an EOF. This method checks that there were the right number of closing braces and brackets.

Errors
  • Returns an error Result if the JSON was malformed.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.