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 (QUOTATION MARK) to
> use instead of the single quotes.

Don't know.  Maybe this?

: (parseJson "{\"sentence\":\"value string with \\\"double quotes\\\" is
valid json\"}")
-> (("sentence" . "value string with \"double quotes\" is valid json"))
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to