zparse 2.0.5

High-performance JSON/TOML/YAML/XML parser with zero-allocation support
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! YAML streaming parser events

use crate::value::Value;

/// YAML parser events
#[derive(Clone, Debug, PartialEq)]
pub enum Event {
    MappingStart,
    MappingEnd,
    SequenceStart,
    SequenceEnd,
    Key(String),
    Value(Value),
}