<div class="gmail_quote">On Mon, Apr 9, 2012 at 7:16 PM, Justin Santa Barbara <span dir="ltr"><<a href="mailto:justin@fathomdb.com">justin@fathomdb.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="gmail_quote"><div>When you're designing JSON considering only JSON, you'd probably use { key1: value1 } - as you have done.  If you're designing generically, you'd probably use { key: key1, value: value1 }.</div>

</div></blockquote><div><br></div><div>I, literally. die a little inside each and every time I see this kind of JSON. Once you start producing JSON like this, you may as well just stick with XML. Parsing it will be easier.</div>

<div><br></div><div>JSON and XML have different strengths and weaknesses, if you only allow the common ground of functionality to be used you end up with a mediocre at best implementation of both.</div><div><br></div><div>

Thanks,</div><div>Kiall</div></div>