News for hackers. Stuff that matters.
Re:Why is JSON so popular? Developers want out of the syntax... by tptacek on Friday March 19, 2010 @12:07PM (#1204427)
You know, I know we're just geeking out here so please don't read too much into me taking the devil's advocate position, but: yes, XML is harder to parse, but the underlying data that gets encoded in JSON and XML isn't substantially different.

In both cases --- and let's take the C implementation case --- you're still building a poorly specified buggy implementation of Tcl to actually hold the data and answer questions about it.

That's the point I'm trying to make.

Re:Why is JSON so popular? Developers want out of the syntax... by jbooth on Friday March 19, 2010 @12:23PM (#1204465)
Dunno why you got downmodded there..

Anyways, if they're equivalent, and JSON is both easier to parse and has a far higher data density.. why would anyone ever use XML for anything?

Re:Why is JSON so popular? Developers want out of the syntax... by eru on Friday March 19, 2010 @02:58PM (#1204942)
Three-legged races are fun.
Re:Why is JSON so popular? Developers want out of the syntax... by uriel on Saturday March 20, 2010 @03:28PM (#1206846)
> why would anyone ever use XML for anything?

I ask myself that every day.

XML is a huge scam perpetrated on the software industry, but now it is too late because a huge parasitic 'industry' has built around it, and too many people (specially too many PHBs) have invested their reputations on XML being the ultimate standard for representing data.

Re:Why is JSON so popular? Developers want out of the syntax... by axod on Friday March 19, 2010 @01:04PM (#1204566)
Can you explain what is lacking in JSON? What is poorly specified or buggy?