<script type="text/javascript"> var str = '{"name":"jack","age":21,"address":"shenzhen"}'; var jsonObject = eval('('+str+')'); alert(jsonObject.name); </script>
?
日期:2014-05-16 浏览次数:20456 次
<script type="text/javascript"> var str = '{"name":"jack","age":21,"address":"shenzhen"}'; var jsonObject = eval('('+str+')'); alert(jsonObject.name); </script>
?