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
-- 
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-...@googlegroups.com.
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en.


Reply via email to