Trait SelectionHandler
pub trait SelectionHandler {
// Required method
fn handle_selection(
&mut self,
selector: usize,
path: &ValuePath,
token: Token<'_>,
) -> Result<(), JsonError>;
}Available on crate feature
std only.Expand description
Handles value tokens selected by one or more JSONPath expressions.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".