JSON stringify missing from jQuery 1.4.1?
You can use "Closure Library" (Google) to make a cross browser JSON encoder/decoder.
Just go to http://closure-compiler.appspot.com/
and insert the following into the text field, then hit "Compile":
// ==ClosureCompiler==
// @compilation_level ADVANCED_OPTIMIZATIONS
// @output_file_name default.js
// @use_closure_library true
// ==/ClosureCompiler==
goog.require('goog.json');
if (!window['JSON']) window['JSON']={};
if (typeof window['JSON']['stringify'] !== 'function') window['JSON']['stringify']=goog.json.serialize;
if (typeof window['JSON']['parse'] !== 'function') window['JSON']['parse']=goog.json.parse;
You might want to check this out: http://www.json.org/js.html