Development Documentation (main branch) - For stable release docs, see docs.rs/eidetica

JsonPathEval

Trait JsonPathEval 

pub trait JsonPathEval {
    type Iter<'a>
       where Self: 'a;

    // Required method
    fn json_path<'a>(&'a self, path: &'a JsonPath<'a>) -> Self::Iter<'a>;
}
Expand description

Trait implemented by types capable of evaluating JSON Paths.

Required Associated Types§

type Iter<'a> where Self: 'a

Required Methods§

fn json_path<'a>(&'a self, path: &'a JsonPath<'a>) -> Self::Iter<'a>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

§

impl JsonPathEval for Any

§

type Iter<'a> = JsonPathIter<'a>

§

impl<T> JsonPathEval for T
where T: ReadTxn,

§

type Iter<'a> = JsonPathIter<'a, T> where T: 'a