Skip to main content

resolve

Function resolve 

Source
pub fn resolve(value: &Value, path: &str) -> Result<Option<Value>, NikaError>
Expand description

Parse and apply a simple path in one step.

For simple dot/index paths like data.items[0].name. Returns Ok(None) if the path doesn’t match.

For rich JSONPath expressions (wildcards, filters), use query().