use crate::coords::Span;
use crate::errors::Error;
use std::borrow::Cow;
#[derive(Debug)]
pub enum Match<'a> {
StartOfInput,
EndOfInput,
StartObject,
ObjectKey(Cow<'a, str>),
EndObject,
StartArray,
EndArray,
String(Cow<'a, str>),
Integer(i64),
Float(f64),
Boolean(bool),
Null,
}
#[derive(Debug)]
pub struct Event<'a> {
pub matched: Match<'a>,
pub span: Span,
}