I need to use:
JSON.stringify()
which should be supported by Chrome, Safari, and Firefox. I think IE8 also has support for the JSON object. I think IE7 and 6 do not, so I'm doing this:
<!--[if lt IE 8]>
<script src="http://www.json.org/json2.js"></script>
<![endif]-->
so, I think this will import the external JavaScript only if IE6 & 7. I looked at the URL where the script is hosted, they are including only if the IE version is less than 9:
http://code.google.com/p/html5shiv/
<!--[if lt IE 9]>
<script src="http://www.json.org/json2.js"></script>
<![endif]-->
so should I be including this for IE 8 too?