Javascript examples for JSon:JSon Parse
Parse string to Json with quote
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript"> window.onload=function(){//from w w w . j av a 2 s . com var x = JSON.parse('{"clientId": "123.1", "userId": "0.474", "url": "http://java2s.com/", "pageUrl": "1", "timer": "15", "clickCount": "4", "mouseMax": "", "objective": ""}'); console.log(x.clientId); } </script> </head> <body> </body> </html>