Skip to main content

eval_path

Function eval_path 

Source
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.