日期:2014-05-16  浏览次数:20326 次

js中打印出json对象的值
<script src="json2.js"></script>
<script>
var date = {myArr : ["a" , "b" , "c" , "d"] , count : 4};
var str = JSON.stringify(date);
alert(str);
</script>