Struct rsonpath_lib::stackless::StacklessRunner
source · pub struct StacklessRunner<'q> { /* private fields */ }
Expand description
Stackless runner for a fixed JSONPath query.
The runner is stateless, meaning that it can be executed on any number of separate inputs, even on separate threads.
Implementations§
source§impl StacklessRunner<'_>
impl StacklessRunner<'_>
sourcepub fn compile_query(query: &JsonPathQuery) -> StacklessRunner<'_>
pub fn compile_query(query: &JsonPathQuery) -> StacklessRunner<'_>
Compile a query into a StacklessRunner
.
Compilation time is proportional to the length of the query.