Enum rustc_serialize::json::JsonEvent [] [src]

pub enum JsonEvent {
    ObjectStart,
    ObjectEnd,
    ArrayStart,
    ArrayEnd,
    BooleanValue(bool),
    I64Value(i64),
    U64Value(u64),
    F64Value(f64),
    StringValue(String),
    NullValue,
    Error(ParserError),
}

The output of the streaming parser.

Variants

ObjectStart
ObjectEnd
ArrayStart
ArrayEnd
BooleanValue
I64Value
U64Value
F64Value
StringValue
NullValue
Error

Trait Implementations

Derived Implementations

impl Debug for JsonEvent

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl PartialEq for JsonEvent

fn eq(&self, __arg_0: &JsonEvent) -> bool

fn ne(&self, __arg_0: &JsonEvent) -> bool