https://bz.apache.org/bugzilla/show_bug.cgi?id=65681

--- Comment #12 from Felix Schumacher <[email protected]> ---
Though checking an example he sent to me with our current implementation and an
online JMESPath checker, it seems, that JMESPath does not return null values
(at least not in his example).

The example is

  { "values": [null, "", {}, [], 1] }

and the JMESPath expression would be values[*] (JSON Path would be $.values[*])
The results are
JMESPath: ["", {}, [], 1]
JSONPath: [null, "", {}, [], 1] (or with the new impl and a default value of NF
["NF", "", {}, {], 1])

I haven't found a way to configure our used JMESPath engine to return null
values, so currently we can't do anything but document that behaviour.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to