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
//! TOML streaming parser events

use crate::value::Value;

/// TOML parser event
#[derive(Clone, Debug, PartialEq)]
pub enum Event {
    /// Start of a table or array-of-tables
    TableStart { path: Vec<String>, is_array: bool },
    /// Key/value pair within current table
    KeyValue { key: Vec<String>, value: Value },
}