[jQuery] simple JSON parse problem!!!

[jQuery] simple JSON parse problem!!!


Why won't this work??? Nothing pops up for the alert.
<script type="text/javascript">
var theObject = {"key": "value"};
var JSON = eval ("("+theObject+")");
alert(JSON.key);
</script>
--
View this message in context: http://www.nabble.com/simple-JSON-parse-problem%21%21%21-tp24283450s27240p24283450.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.