28 October 2008

Good times for JavaScript Object Notation(JSON)

One hurdle in writing good, well performing AJAX applications is the parsing of data. One way of trying to improve the performance has for a long time been to use JSON in the transport layer. While being pretty efficient, and reasonably well supported in server side implementations, the perfomance of serializing/deserializing large JSON objects in the client side has left much to wish for.

Luckily, this is about to change :)

The Mozilla guys have implemented a native JSON parser and will be exposing that to use with JavaScript in coming releases. Furthermore, IE8 beta 2 features a native JSON parser. Now we can just hope that the WebKit guys follow the trend ... Google Chrome with a built in JSON parser would likely rock ;)


IE8 Blog: Native JSON in IE8

Moz JSON support

0 comments: