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

ObjectStartObjectEndArrayStartArrayEndBooleanValue(bool)I64Value(i64)U64Value(u64)F64Value(f64)StringValue(String)NullValueError(ParserError)

Trait Implementations

impl Debug for JsonEvent
[src]

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

Formats the value using the given formatter.

impl PartialEq for JsonEvent
[src]

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

This method tests for self and other values to be equal, and is used by ==. Read more

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

This method tests for !=.