<script type="text/javascript"> var str = '{"name":"jack","age":21,"address":"shenzhen"}'; var jsonObject = eval('('+str+')'); alert("name="+jsonObject.name+",age="+jsonObject.age+",addess="+jsonObject.address); </script>