pub fn select_value<'a>(root: &'a Node, path: &str) -> Result<&'a Value, Diag>Expand description
Select a CBOR or MessagePack value by path.
Each segment is a map key or an array index (users.0.name). A segment
matches a text key exactly; a numeric segment indexes an array, or matches
an integer map key. If the top level has several items (a forced
CBOR/MessagePack sequence), the first segment indexes them. CBOR tags are
followed transparently.