Using JSON instead of XML for OGC documents

Cameron Shorter cameron.shorter at gmail.com
Thu Nov 16 17:34:31 EST 2006


Context working group,

Regarding: http://json.org

There has been discussion amongst http://openlayers.org developers about 
using JSON instead of XML for storing OGC documents (like OGC Context, 
WMC, and probably a host of other documents too).

The reason for considering JSON over XML are:
* In Web Browsers, XML support is patchy.
* Consequently extra code is required to be downloaded to cover all 
browsers.
* In browser clients, code size is a major consideration as 
size=bandwidth=speed.
* JSON is reportedly faster to process.

JSON reportedly has all the other advantages of XML like being 
structured, easy to read, is supported by multiple languages etc.

One thing discussed is standing up XML<->JSON services.

I'd be interested to hear comments from OGC participants on these ideas.

Feel free to foward onto others more appropriate.

--
Cameron Shorter
http://cameron.shorter.net




More information about the Webmap-discuss mailing list