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),
}Expand description
The output of the streaming parser.
Variants
ObjectStart
ObjectEnd
ArrayStart
ArrayEnd
BooleanValue(bool)
Tuple Fields
0: boolI64Value(i64)
Tuple Fields
0: i64U64Value(u64)
Tuple Fields
0: u64F64Value(f64)
Tuple Fields
0: f64StringValue(String)
Tuple Fields
0: StringNullValue
Error(ParserError)
Tuple Fields
0: ParserError