Skip to main content

get_dotpath

Function get_dotpath 

Source
pub fn get_dotpath<'a>(d: &'a Value, path: &str) -> Option<&'a Value>
Expand description

Walk a dot-path through nested JSON objects.

Ports _get_dotpath. Returns None if any intermediate is not an object, or if a final key is absent.