Skip to main content

get_value

Function get_value 

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

Get a value by path (immutable).

Supports dot notation for nested access: “foo.bar.baz” navigates to value["foo"]["bar"]["baz"]. Also supports array indices: “items.0.name” navigates to value["items"][0]["name"].