Re: is json.l capable to handle escaped quotation marks in strings?

2016-10-30 Thread rick
On Sun, 30 Oct 2016 23:23 +0100, O.Hamann wrote: > (load "@lib/json.l") > # this works fine: > (parseJson "{\"sentence\":\"value string with 'single quotes' is valid > json\"}") > -> (("sentence" . "value with 'single quotes' is valid json")) > > But I don't know how to escape the double quotes

is json.l capable to handle escaped quotation marks in strings?

2016-10-30 Thread O.Hamann
Hello list, {"sentence":"value string with \"escaped quotation marks\" is valid json"} is valid json, but parseJson returns 'BAD JSON'. Any idea for an simple way to circumvent that issue? Thank you in advance! == I tried with picoLisp 16.06.0 (load "@lib/json.l") # this works fine: