{"action":"created","issue":{"url":"https://api.github.com/repos/douglascrockford/JSON-js/issues/75","repository_url":"https://api.github.com/repos/douglascrockford/JSON-js","labels_url":"https://api.github.com/repos/douglascrockford/JSON-js/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/douglascrockford/JSON-js/issues/75/comments","events_url":"https://api.github.com/repos/douglascrockford/JSON-js/issues/75/events","html_url":"https://github.com/douglascrockford/JSON-js/issues/75","id":133952353,"number":75,"title":"Avoid using eval","user":{"login":"AndyOGo","id":914443,"avatar_url":"https://avatars.githubusercontent.com/u/914443?v=3","gravatar_id":"","url":"https://api.github.com/users/AndyOGo","html_url":"https://github.com/AndyOGo","followers_url":"https://api.github.com/users/AndyOGo/followers","following_url":"https://api.github.com/users/AndyOGo/following{/other_user}","gists_url":"https://api.github.com/users/AndyOGo/gists{/gist_id}","starred_url":"https://api.github.com/users/AndyOGo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndyOGo/subscriptions","organizations_url":"https://api.github.com/users/AndyOGo/orgs","repos_url":"https://api.github.com/users/AndyOGo/repos","events_url":"https://api.github.com/users/AndyOGo/events{/privacy}","received_events_url":"https://api.github.com/users/AndyOGo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-16T11:15:08Z","updated_at":"2016-02-16T13:08:16Z","closed_at":"2016-02-16T12:32:00Z","body":"I quickly went through your json2 code and spot an ugly eval there.\r\n[https://github.com/douglascrockford/JSON-js/blob/master/json2.js#L504](url)\r\n\r\nReplace it with a function constructor and it will run faster;)\r\n\r\nSomething like this should do the trick:\r\n`(new Function('return (' + text +');'))();`\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/douglascrockford/JSON-js/issues/comments/184676519","html_url":"https://github.com/douglascrockford/JSON-js/issues/75#issuecomment-184676519","issue_url":"https://api.github.com/repos/douglascrockford/JSON-js/issues/75","id":184676519,"user":{"login":"douglascrockford","id":262641,"avatar_url":"https://avatars.githubusercontent.com/u/262641?v=3","gravatar_id":"","url":"https://api.github.com/users/douglascrockford","html_url":"https://github.com/douglascrockford","followers_url":"https://api.github.com/users/douglascrockford/followers","following_url":"https://api.github.com/users/douglascrockford/following{/other_user}","gists_url":"https://api.github.com/users/douglascrockford/gists{/gist_id}","starred_url":"https://api.github.com/users/douglascrockford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/douglascrockford/subscriptions","organizations_url":"https://api.github.com/users/douglascrockford/orgs","repos_url":"https://api.github.com/users/douglascrockford/repos","events_url":"https://api.github.com/users/douglascrockford/events{/privacy}","received_events_url":"https://api.github.com/users/douglascrockford/received_events","type":"User","site_admin":false},"created_at":"2016-02-16T13:08:16Z","updated_at":"2016-02-16T13:08:16Z","body":"Is this a significant improvement? Is the improvement observable? What are the numbers?"}}