pub fn eval_path(doc: &Document, path: &[PathSegment]) -> Option<Value>Expand description
Evaluate a path against a document, descending through Value::Map
and Value::List. Returns None if any segment fails to resolve.
pub fn eval_path(doc: &Document, path: &[PathSegment]) -> Option<Value>Evaluate a path against a document, descending through Value::Map
and Value::List. Returns None if any segment fails to resolve.