Comment #4 on issue 1086 by lucas.e.smith: Can provided JSON object report
Object.proto.toString.call(JSON) == '[object JSON]'?
http://code.google.com/p/google-caja/issues/detail?id=1086
Not to toot my own horn here, but if Caja will provide a JSON object in
lieu of
native JSON support, but that object isn't fully spec compliant, why not
use the YUI
code (with local reimplementations of YAHOO.lang methods). That's exactly
what YUI's
JSON util does, with the exception of not clobbering the global JSON name.
Incidentally, I'm sure you're aware that every native JSON implementation
to date has
bugs.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings