pub trait PartialJsonParser: Send + Sync {
// Required methods
fn parse(&self, input: &str) -> ParserResult<(Value, usize)>;
fn is_complete(&self, input: &str) -> bool;
fn max_depth(&self) -> usize;
}Expand description
Trait for partial JSON parsing
Required Methods§
Sourcefn is_complete(&self, input: &str) -> bool
fn is_complete(&self, input: &str) -> bool
Check if JSON is complete
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".