<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">ok, it seems it actually needs double quotes:<div><div><a href="http://json.org/example.html">http://json.org/example.html</a><br><div><br></div><div>funny thing... I'm seeing "invalid" json being used all around</div><div><br></div><div>not to mention that the source I've shown, came from Google itself</div><div><br></div><div>Hmmm</div><div><br></div><div><br></div><div><div><a href="http://about.me/sebastianconcept">sebastian</a></div><div><br></div><div>o/</div></div><div><br></div><div><br><div><div>On Sep 12, 2011, at 2:46 PM, Sebastian Sastre wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Lukas, Phillipe,</div><div><br></div><div>sure?&nbsp;</div><div><br></div><div>I see it says:</div><div>"...<i>A value</i> <b>can</b> be a string in double quotes, or a number, or true or false or null, or an object or an array..."</div><div><br></div><div>which translates to:</div><div><i>1. A value</i>, like when value means something different than a key</div><div><i>2. can</i>, like when can means something more flexible than a&nbsp;<i>has to</i></div><div><br></div><div>I am missing something?</div><div><br></div><div><div><a href="http://about.me/sebastianconcept">sebastian</a></div><div><br></div><div>o/</div></div><div><br></div><div><br></div><div><br><div><div>On Sep 12, 2011, at 2:28 PM, Philippe Marschall wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>2011/9/12 Sebastian Sastre &lt;<a href="mailto:sebastian@flowingconcept.com">sebastian@flowingconcept.com</a>&gt;:<br><blockquote type="cite">Maybe this is useful to someone:<br></blockquote><blockquote type="cite">Try this:<br></blockquote><blockquote type="cite">JSJsonParser parseStream: '{lhs: "1 Brazil real",rhs: "0.592768 U.S.<br></blockquote><blockquote type="cite">dollars",error: "",icc: true}' readStream<br></blockquote><blockquote type="cite">it can't parse that, so..<br></blockquote><br>Because it's not JSON. JSON keys need to be quoted [1]<br><br> [1] <a href="http://json.org/">http://json.org/</a><br><br>Cheers<br>Philippe<br>_______________________________________________<br>seaside mailing list<br><a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br></div></blockquote></div><br><div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div></div><br class="Apple-interchange-newline">
</div>
<br></div></div>_______________________________________________<br>seaside mailing list<br>seaside@lists.squeakfoundation.org<br>http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br></blockquote></div><div><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><br><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br></div></div></div></body></html>