Skip to main content

resolve_path

Function resolve_path 

Source
pub fn resolve_path<'a>(doc: &'a Value, path: &[String]) -> Option<&'a Value>
Expand description

Follow a pre-split dotted path. An empty path is the document itself.

Numeric segments index into arrays, so "rows.0.cells" works; everything else is an object key.