Actually the simplest "way out" is to have new jQuery.support member :
jQuery.support.nonstandard_json_string =
function () {
try { JSON.parse("{ a : 1 }"); return true ; } catch(x)
{ return false; }
}();
As far as I know "only" in CHROME :
jQuery.support.nonstandard_json_string === true ;
Having this implement JSON parsing logic in 1.4 ...
--DBJ
(27 lines) Jan 7, 2010 10:56
(32 lines) Jan 7, 2010 11:27
(33 lines) Jan 7, 2010 12:37
(21 lines) Jan 7, 2010 13:54
(36 lines) Jan 7, 2010 15:42
(21 lines) Jan 7, 2010 19:50
(27 lines) Jan 11, 2010 18:51
(27 lines) Jan 11, 2010 18:56
(20 lines) Jan 11, 2010 19:26
(18 lines) Jan 11, 2010 19:29
(28 lines) Jan 11, 2010 20:17
(14 lines) Jan 12, 2010 06:05