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

Victor Ustugov <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #6 from Victor Ustugov <[email protected]> ---
This patch works properly only with very simple JSON arrays.


# exim -be '${extract json{IDs}{ \{"other":"foo", "IDs": [116, 943, 234]\} }}'
[116, 943, 234]

This is correct result.


# exim -be '${extract json{IDs}{ \{"IDs": \{"1":116, "2":943, "3":234\}\} }}'
{"1":116, "2":943, "3":234

But expected result is {"1":116, "2":943, "3":234}


# exim -be '${extract json{IDs}{ \{"id": \{"a":101, "b":102\}, "IDs":
\{"1":116, "2":943, "3":234\}\} }}'
Failed: missing '"' wrapping string key for extract json

Expected result is {"1":116, "2":943, "3":234}

-- 
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