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 Show for JsonEvent

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

impl Clone for JsonEvent

fn clone(&self) -> JsonEvent

fn clone_from(&mut self, source: &Self)

impl PartialEq for JsonEvent

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

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