Saturday, July 19, 2008

JSON

I have been looking out for something like this. A JSON parser built into your web framework. A lot of AJAX examples pass back simple name-value pairs. This can grow cumbersome as the amount of data grows however. JSON, Short for JavaScript Object Notation, JSON is a lightweight data-interchange format that is easy for humans to read and write, and for machines to parse and generate. JSON is based on the object notation of the JavaScript language. However, it does not require JavaScript to read or write because it is a text format that is language independent.

I came across the Grails/JSON integration this while reading fellow Java and Grails developer James Lorenzen blog entry:

http://jlorenzen.blogspot.com/2008/07/grails-json-parser.html

No comments: