Hello,
I'm trying to convert a json var into a javascript object but when I write (in my file .html) the line relative to 'eval' the page doen't work and don't display anything:
Qt Code:
  1. <html>
  2. <body>
  3. <script type="text/javascript">
  4. var myJSON = {"count":26,.......};
  5. var myObject = eval("("+ myJSON+")"); //problem here
  6. document.writeln(myJSON.value.title);
  7. </script>
  8. </body>
  9. </html>
To copy to clipboard, switch view to plain text mode 
If I comment the 'eval' line, writeln print properly; otherwise it doesn't print!
Why eval doens't work, please?

Thanks.