JSON

Developing the next generation of open data interchange

« PreviousNext »

JSON vs. Rocky

4 January 2007

There seems to be a big discussion lately about JSON vs. XML

  1. We all agree that the SOAP stack has gotten crazy
  2. JSON is thinner than Xml (slightly, no big deal really)
  3. JSON is native to the client. Having to load a specialized library to transform my data SUX.
  4. JSON can do cross domain calls that XmlHttp requests can not
  5. It is easier to encode / escape in JSON than XML
  6. JSON can define a function and data in one pass
  7. JSON can be used as a PUSH from the server (ok - it really is a managed pull, but at least it is not POLLING)

I thinks some people have been trying to revitalize Xml-RPC, which was killed off with the hype of SOAP. XmlRpc is kewl, but we have learned since then: we need a schema, a descriptor of services, binding, transactions, etc. Some of the recent work with JSON gives us these. Are they bound just to this ‘new’ technology? Of course not - but let us not launch a holy war.

Posted in Uncategorized | Trackback | del.icio.us | Top Of Page

No comments yet

Leave a Reply