I need to Support IE7. In IE10 developers tool I'm setting "Document mode to IE7 standards" but it still says "JSON is not defined" here is my test HTML code:
Web site: <span id="wurl"></span><br/>
Title: <span id="wtitle"></span>
<script type="text/javascript" src="http://knivesandtools.nl/2011/js/json2.js"></script>
<script type="text/javascript">
// example of what is received from server
var jsnstr = '{"url": "http://coursesweb.net/", "title": "Web Development Courses", "users": 1500}';
// parse the "jsnstr", and store the JSON object in "obj"
var obj = JSON.parse(jsnstr);
// uses the JavaScript object, adds the values from "url", and "title" in web page
document.getElementById('wurl').innerHTML = obj.url;
document.getElementById('wtitle').innerHTML = obj.title;
</script>