I’ve been bit by the JSON bug. For a long time now, I’ve simply shrugged it off as ‘Why not just use XML, it’s parsable by most languages anyway.’ However, once I started playing around with the del.icio.us JSON interface, then the Google Homepage API, and finally with the new Yahoo! JSON API – I realized that they were really on to something. The major benefits are immediately apparent:
- It’s incredibly lightweight – there’s almost no extra markup, which keeps the data transfers nice and small.
So, this brings me to my first project using JSON – a fast RSS to JSON Convertor. You simply plug in the URL of the RSS (or Atom) feed that you wish to convert – and you’ll have a nice, plyable JSON object to work with. I cache all retreived files every hour, to save on bandwidth, so please be aware of that. It also supports the addition of callbacks, making it easy to use in your program, right out of the box. If you’re interested in seeing a demo, along with some sample code (and the code of the convertor), feel free to visit the project page.
The nice thing about having a RSS to JSON Convertor is that you can now convert any RSS source and play with it instantly – for example, your Google Search History, the Latest TV Listings, or even your POP Email Account. The possibilities are endless. I can’t wait to play with this some more.