Bingo - we have a winner!

Don Box's Spoutlet

Syndication

This analysis of what I wrote last night about JSON and XML is spot on.

People often conflate XML (a pretty basic technology) with the monstrosity that is the “Enterprise XML” stack built on top of it (starting with but not limited to XSD).

Granted, there are things to not like about XML itself, but none of them are fatal.

And yes, I believe had JSON been an option in the late 1990's, lots of things people do today with XML would have been better served had they gone with a data rep that matches the way most developers think (as opposed to how content specialists think).

All of that said, if “the industry” were to build out the XSD/XQuery/etc. feature set on top of JSON, my guess is we'd wind up with a similarly complicated beast -  especially that effort were to lead with standardization rather than implementation again.

 


Posted Jan 18 2007, 03:29 PM by don-box

Comments

Albert E. wrote re: Bingo - we have a winner!
on 01-19-2007 5:52 AM
Server, please send me the days of the week.

["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]

Thanks!


Simpler impossible...
Stefan Dobrev wrote re: Bingo - we have a winner!
on 01-19-2007 3:15 PM
That's the point.

For simple things (GData, javascript tricks :) use POX/JSON.
But I cannot imagine for an example an "InfoCard" token serialized/deserialized into JSON and javascript on the client.
We should be pragmatic and use whatever appropriate and make sense in our own problem domains.

The good news is that in both cases "Indigo" wins.
Jose Chajon Blog wrote An interesting post on JSON vs XML
on 01-20-2007 7:53 PM
Mike wrote re: Bingo - we have a winner!
on 01-21-2007 8:37 PM
Can you elaborate a little more on why xsd is such a monstrosity (I have heard this on many occasions but fail to grasp why). If some xml were to fall out of the heavens, say
<company>sun</company>
short of divine intervention (or a smart LISP developer...same thing) don't you need xsd?
Visual Studio Blog wrote curious comments on xml vs json
on 01-22-2007 6:33 PM
As I was traversing several sites searching for insight on this topic I found these two posts which are
Hoop wrote re: Bingo - we have a winner!
on 01-23-2007 4:28 PM
but I really really want a JSON version of XSLT for christmas... I promise to use it all the time and I'll call it JSLT.
Charlie Calvert's Community Blog wrote Community Convergence XIX
on 01-23-2007 6:56 PM
Welcome to the nineteenth Community Convergence. I'm Charlie Calvert, the C# Community PM, and this is
Erik Johnson wrote re: Bingo - we have a winner!
on 01-24-2007 11:05 AM
But what if the content specialists are right and real-world data is more hierarchical and relational and less, well, 2-dimensional? Wouldn't we all be better-served if developers worked with a data rep that more closely resembles actual data?

What about standardizing a way to map XML trees to JSON graphs. Didn't you (among others) pitch a similar animal to the WS-I to help quell the sorrow over the loss of (SOAP Encoding) arrays? Whatever happened to that stuff?
dbox wrote Bingo-我们有了一个赢家
on 03-09-2007 8:30 PM
?????????JSON?XML????????

Add a Comment

(required)  
(optional)
(required)  
Remember Me?