pub fn parse(path: &str) -> Result<Vec<Segment>, NikaError>Expand description
Parse a simple JSONPath string into segments.
Supports:
$.a.b.c(dot notation with$prefix)a.b.c(dot notation without prefix)items[0].name(array index in bracket notation)items.0.name(array index as numeric segment)
Does NOT support wildcards, filters, slices, or recursive descent.
Use query() for those.