News for hackers. Stuff that matters.
Re:jQuery 1.3 ßeta by mmj on Tuesday December 23, 2008 @10:09AM (#407587)
http://www.json.org/json2.js

// In the third stage we use the eval function to compile the text into a

// JavaScript structure. The '{' operator is subject to a syntactic ambiguity

// in JavaScript: it can begin a block or an object literal. We wrap the text

// in parens to eliminate the ambiguity.

Re:jQuery 1.3 ßeta by ars on Tuesday December 23, 2008 @12:09PM (#407778)
http://www.json.org/json_parse.js

// This is a function that can parse a JSON text, producing a JavaScript

// data structure. It is a simple, recursive descent parser. It does not use

// eval or regular expressions, so it can be used as a model for implementing

// a JSON parser in other languages.

Re:jQuery 1.3 ßeta by mmj on Tuesday December 23, 2008 @02:10PM (#407954)
Yes, but even better would be to use jQuery's excellent JSONP method.