[Seaside] json parser patch

Philippe Marschall philippe.marschall at gmail.com
Mon Sep 12 17:28:24 UTC 2011


2011/9/12 Sebastian Sastre <sebastian at flowingconcept.com>:
> Maybe this is useful to someone:
> Try this:
> JSJsonParser parseStream: '{lhs: "1 Brazil real",rhs: "0.592768 U.S.
> dollars",error: "",icc: true}' readStream
> it can't parse that, so..

Because it's not JSON. JSON keys need to be quoted [1]

 [1] http://json.org/

Cheers
Philippe


More information about the seaside mailing list