Skip to main content

extract_at_path

Function extract_at_path 

Source
pub fn extract_at_path(value: &Value, path: &str) -> Vec<Value>
Available on crate features source-rest and source-xml only.
Expand description

Navigate into a JSON value using a dot-separated path and extract matching records. If the final element is an array, its items are returned individually.