Enum yajlish::ParserStatus [−][src]
pub enum ParserStatus {
Show 13 variants
Start,
ParseComplete,
ParseError,
LexicalError,
MapStart,
MapSep,
MapNeedVal,
MapGotVal,
MapNeedKey,
ArrayStart,
ArrayGotVal,
ArrayNeedVal,
GotValue,
}
Expand description
The state that the parser is in.
Variants
Receiving the first token
Received the last token
Error
The json is malformed
Received {
Received Key now looking for :, (Won’t see in handler)
Received :
Received Map value
Received , in a Map
Received [
Received Array value
Received , in an Array
Received a value that is the whole document like “true”
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ParserStatus
impl Send for ParserStatus
impl Sync for ParserStatus
impl Unpin for ParserStatus
impl UnwindSafe for ParserStatus
Blanket Implementations
Mutably borrows from an owned value. Read more