On Mon, Apr 9, 2012 at 7:16 PM, Justin Santa Barbara <jus...@fathomdb.com>wrote: > > 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 }. >
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. 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. Thanks, Kiall
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp