Skip to main content

eval_path_in_document

Function eval_path_in_document 

Source
pub fn eval_path_in_document(
    doc: &Document,
    path: &[PathSegment],
) -> Option<Value>
Expand description

Walk a document along a PathSegment sequence: strings descend into maps, integers descend into lists, and the implicit array-wildcard rule applies a string component over every map element of an array.