Enum serialize::json::JsonEvent [] [src]

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

: deprecated in favor of rustc-serialize on crates.io

The output of the streaming parser.

Variants

ObjectStart
Unstable

: deprecated in favor of rustc-serialize on crates.io

ObjectEnd
Unstable

: deprecated in favor of rustc-serialize on crates.io

ArrayStart
Unstable

: deprecated in favor of rustc-serialize on crates.io

ArrayEnd
Unstable

: deprecated in favor of rustc-serialize on crates.io

BooleanValue
Unstable

: deprecated in favor of rustc-serialize on crates.io

I64Value
Unstable

: deprecated in favor of rustc-serialize on crates.io

U64Value
Unstable

: deprecated in favor of rustc-serialize on crates.io

F64Value
Unstable

: deprecated in favor of rustc-serialize on crates.io

StringValue
Unstable

: deprecated in favor of rustc-serialize on crates.io

NullValue
Unstable

: deprecated in favor of rustc-serialize on crates.io

Error
Unstable

: deprecated in favor of rustc-serialize on crates.io

Trait Implementations

Derived Implementations

impl Debug 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