https://bugs.exim.org/show_bug.cgi?id=2282

--- Comment #8 from Victor Ustugov <[email protected]> ---
(In reply to Jeremy Harris from comment #7)
> Thanks for pointing this out.
> Commits 9d03af0a7d and a3970a8819 address it, I hope.

Yes, it is.
But it is hard enough to parse the JSON array with unknown keys.
A function which returns a list of array keys and a function which check if key
exists in an array would be very useful.

Here is the result of an attempt to get an array element with a nonexistent
key:

# exim -be '${extract json {required_score}{
\{"is_skipped":false,"score":14.70\} }}'
Failed: missing '"' wrapping string key for extract json

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim 
details at http://www.exim.org/ ##

Reply via email to