Skip to main content

apply_input_path

Function apply_input_path 

Source
pub fn apply_input_path(input: &Value, path: Option<&str>) -> Value
Expand description

Apply InputPath to extract a subset of the raw input.

  • None or Some("$") → return input unchanged
  • Some("null") handled at call site (pass {})
  • Some("$.foo.bar") → extract nested field