JSON: The Fat-Free Alternative to XML

May 28, 2008

I recently had an opportunity to work with JSON when a co-worker looked at my XML for transferring data from an application to our server. He recommend we move to JSON. JSON is described as a lightweight data-interchange format that is easy for humans to read and write but more importantly, easy for systems to parse and generate.

A subset of JavaScript, JSON (JavaScript Object Notation) is language independent but its notation makes it easy for systems to effortlessly parse and generate its text format. You can now find JSON libraries or built-in JSON support for programming languages and systems such as: ActionScript, C++, C#, Cold Fusion, Java, Perl, PHP, Python, Ruby, and many more. To see all supporting languages and to download your preferred library, visit the project’s homepage.

I am currently working on putting some examples for you using ActionScript 2.0 and exploring the difference between with JSON vs XML. I will keep this post updated any time I post an example.

SOURCE

http://www.json.org

Tags: ,

Leave a Reply

You must be logged in to post a comment.