Skip Navigation Links

Freddie vs JSON

Categories

JSON or xml? Plenty of smart people have had plenty to say on this, so I think it's only fair that I litter up the internet with my viewpoint.

I don't get it.

Xml, even with its flaws, is way better than JSON.

I just can't get past the security thing with JSON. I'd much rather trust an inert data file than executing a "neutured" script. It's not very "defence in depth", is it?

Xml has support for schema validation, querying, transformation, security, composing multiple data elements and more.

JSON has explicit whitespace.

(WS-* is an application of xml, so I'm not going to mention it, other than to note that there is no JSON equivalent.)

I think xml has two killer things going for it.

The first is namespaces. Sure, JSON could do this by collaboration and convention, but xml namespaces are much more rigorous.

The second? Rss.

Would rss have flourished and evolved as much as it has if it were implemented in JSON?

posted 1/20/2007 11:06:17 PM

 

Comments:

There are no comments to display for this post.

 

Name:  
Url (optional):  
Subject:  
Comment:  

Enter Captcha Validation:
(If you cannot read the Captcha image, press "Reset Image" to generate a new one)