Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

JsonML - making XML curly

3:14 pm on Feb 11, 2009 (gmt 0)

Senior Member from CA 

WebmasterWorld Senior Member httpwebwitch is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 29, 2003
votes: 0

Welcome to the newest flavour of markup.

JSON Markup Language

Very little has been published about its origins. It seems to be just XML with angle brackets replaced with curlies, then massaged to smooth out whitespace issues and character escaping.

This may be handy... when you have XML and want it as JSON. A while ago we had an extensive discussion on the topic of XML/JSON homeomorphism [webmasterworld.com] -- JsonML offers half of the solution: a strict syntax for serializing and deserializing XML as JSON.

Someone put quite a lot of work into this. While other news boards are belittling JsonML, I think it's worth a closer look.

3:46 am on Feb 12, 2009 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Nov 3, 2005
votes: 0

Impressed by client-side templating system, built using this. Instead of PHP within HTML as in server side templating, this effectively transports javascript( or at least placeholders ) within HTML. This allows all the page boilerplate to be cached in client.
5:20 am on Feb 12, 2009 (gmt 0)

Junior Member

10+ Year Member

joined:Aug 15, 2005
votes: 0

i think this is great. Particularly for the use of sending html as json. Although simply serializing basic xml data to jsonml seems a tad lazy, creating messages that are unnecessarily large.