On 21/05/2023 19:25, Victor Ustugov via Exim-users wrote:
> without comma:
> # exim -be '${extract jsons{opt2}{ \{ "opt1":"1","opt2":"2 3" \}}}'
> 2 3
>
> with comma
> # exim -be '${extract jsons{opt2}{ \{ "opt1":"1","opt2":"2,3" \}}}'
> Failed: missing '"' wrapping string result for extract jsons
Please open a bug for this. Something like
"comma in json data not handled by jsons extract".
> # exim -be '${extract json{opt2}{ \{ "opt1":"1","opt2":"2 \"3\"" \}}}'
That isn't a valid JSON input string; the backslash is interpreted
by Exim and does not become part of the string.
--
Cheers,
Jeremy
--
## subscription configuration (requires account):
##
https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at
http://www.exim.org/
## Please use the Wiki with this list -
http://wiki.exim.org/