XML vs. JSON

Coordinator
Oct 17, 2008 at 2:20 AM
I was looking at the Twitter API to figure out how to send the app name when adding a tweet and noticed there are a few options for pulling information from Twitter: XML, JSON, RSS, and ATOM. Today, Chirpr uses XML. I'm not opposed to XML, but I wonder if the JSON might be a little easier to work with considering it's JavaScript. Any reason to stick with one of the other?
Coordinator
Oct 18, 2008 at 12:43 AM
I should also say we could take an XML+XSL approach. I feel like that would actually simplify the rendering of that data very nicely. I can't say which way I'd rather go for sure. I like the flexibility of the JSON approach because we could quickly get the data into JavaScript to do whatever we want with, but at the same time, all we do with it is render it as HTML. Given this, the XML+XSL approach, being strong on rendering HTML, would probably be best.

Thoughts?