Skip to main content

extract_path

Function extract_path 

Source
pub fn extract_path(
    buf: &[u8],
    offset: usize,
    path: &[&str],
) -> Option<FieldRange>
Expand description

Extract a value at a nested path (e.g., ["address", "city"]). Each segment must be a string key in a nested map.