Saturday, March 10, 2007

JSON - A lightweight way of passing Data

I was at the Web2.0 Conference held by the Computer Society of India Bangalore Chapter (CSIBC) at Royal Orchid in Bangalore. There was Philip from Yahoo Bangalore talking on JSON.

JSON
(JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. The advantage of JSON is that its very light-weight and has none of the markup problems associated with the XML Interchange. Its fast evolving as a preferred data-interchange format, majorly being pushed by Yahoo. Its really worth taking a look at. Yahoo is giving a lot of its Services which were traditionally XML based now in JSON & serialized PHP as well. Here are some links that will let you deep-dive in JSON.
I was really excited with JSON and started some primary explorations with it. It turned up an AS3 Core Lib, which includes a JSON parser for AS3 (i.e FLEX). I will put up a Yahoo Photo Search soon with JSON and using the AS3-JSON Parser