Hi Olaf,

> {"sentence":"value string with \"escaped quotation marks\" is valid json"}
> 
> is valid json, but parseJson returns 'BAD JSON'.

How did you try it?

If I put the above into a file "a", and then do

   $ pil lib/json.l +
   : (in "a" (readJson))
   -> (("sentence" . "value string with \"escaped quotation marks\" is valid 
json"))
   :

Also if I try directly in the REPL

   $ pil lib/json.l +
   : (readJson)
   {"sentence":"value string with \"escaped quotation marks\" is valid json"}
   -> (("sentence" . "value string with \"escaped quotation marks\" is valid 
json"))
   :

it works all right.

♪♫ Alex
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to