|
Abbey Workshop |
||||||||||
Rececently I have been reading a lot of books on AJAX and Web 2.0. Many of the books and articles compare the JSON data format quite favorably to XML. "JSON can do anything XML can do. Its more efficient. It's cleaner. It's faster. blah blah blah."
So if you haven't seen JSON, let me show you two simple examples.
<date> <month>06</month> <monthDay>08</monthDay> <year>2007</year> </date>
{"date":{
"month":"06",
"monthDay":"08",
"year":"2007"
}
}
Granted I'm a little biased towards XML, but I just don't see buy the JSON hype. A couple of points I would like to make.
Being able to turn the data instantly into an object is cool. So JSON is definitely worth checking out. But it certainly is no "all powerful" solution to data exchange problems.
Copyright © Abbey Workshop 2006