Skip to main content

extract

Function extract 

Source
pub fn extract<'a>(value: &'a Value, path: &[Segment]) -> Option<&'a Value>
Expand description

Walk a JSON Value along the given path. Returns None if any segment misses (wrong type, missing key, out-of-bounds index).