Struct jsonpath_lib::Selector [−][src]
pub struct Selector<'a, 'b> { /* fields omitted */ }
Implementations
impl<'a, 'b> Selector<'a, 'b>
[src]
impl<'a, 'b> Selector<'a, 'b>
[src]pub fn new() -> Self
[src]
pub fn str_path(&mut self, path: &str) -> Result<&mut Self, JsonPathError>
[src]
pub fn node_ref(&self) -> Option<&Node>
[src]
pub fn compiled_path(&mut self, node: &'b Node) -> &mut Self
[src]
pub fn reset_value(&mut self) -> &mut Self
[src]
pub fn value(&mut self, v: &'a Value) -> &mut Self
[src]
pub fn values_iter(
&mut self,
values: impl Iterator<Item = &'a Value> + ExactSizeIterator + 'a
) -> &mut Self
[src]
&mut self,
values: impl Iterator<Item = &'a Value> + ExactSizeIterator + 'a
) -> &mut Self
pub fn select_as<T: DeserializeOwned>(
&mut self
) -> Result<Vec<T>, JsonPathError>
[src]
&mut self
) -> Result<Vec<T>, JsonPathError>