{"action":"opened","number":14,"pull_request":{"url":"https://api.github.com/repos/mafintosh/turbo-json-parse/pulls/14","id":212388460,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyMzg4NDYw","html_url":"https://github.com/mafintosh/turbo-json-parse/pull/14","diff_url":"https://github.com/mafintosh/turbo-json-parse/pull/14.diff","patch_url":"https://github.com/mafintosh/turbo-json-parse/pull/14.patch","issue_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/issues/14","number":14,"state":"open","locked":false,"title":"Fix compilation of special property names","user":{"login":"SerayaEryn","id":22620443,"node_id":"MDQ6VXNlcjIyNjIwNDQz","avatar_url":"https://avatars2.githubusercontent.com/u/22620443?v=4","gravatar_id":"","url":"https://api.github.com/users/SerayaEryn","html_url":"https://github.com/SerayaEryn","followers_url":"https://api.github.com/users/SerayaEryn/followers","following_url":"https://api.github.com/users/SerayaEryn/following{/other_user}","gists_url":"https://api.github.com/users/SerayaEryn/gists{/gist_id}","starred_url":"https://api.github.com/users/SerayaEryn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SerayaEryn/subscriptions","organizations_url":"https://api.github.com/users/SerayaEryn/orgs","repos_url":"https://api.github.com/users/SerayaEryn/repos","events_url":"https://api.github.com/users/SerayaEryn/events{/privacy}","received_events_url":"https://api.github.com/users/SerayaEryn/received_events","type":"User","site_admin":false},"body":"This fixes invalid javascript being generated for the following cases:\r\n- numeric property names\r\n- property names being protected keywords\r\n- property names with spaces \r\n\r\nSuch property names are valid in json but are problematic when used directly as variable names or in the dot notation.\r\nBecause of that it is not possible to parse something like:\r\n```json\r\n{\r\n  \"42\":\"value\",\r\n  \"default\":true,\r\n  \"a key\": \"a value\"\r\n}\r\n```\r\n","created_at":"2018-08-31T13:45:31Z","updated_at":"2018-08-31T13:45:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/pulls/14/commits","review_comments_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/pulls/14/comments","review_comment_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/issues/14/comments","statuses_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/statuses/be7e7d384d92125ea38d5b00a8401cbf753461d0","head":{"label":"SerayaEryn:fix-compilation-of-special-property-names","ref":"fix-compilation-of-special-property-names","sha":"be7e7d384d92125ea38d5b00a8401cbf753461d0","user":{"login":"SerayaEryn","id":22620443,"node_id":"MDQ6VXNlcjIyNjIwNDQz","avatar_url":"https://avatars2.githubusercontent.com/u/22620443?v=4","gravatar_id":"","url":"https://api.github.com/users/SerayaEryn","html_url":"https://github.com/SerayaEryn","followers_url":"https://api.github.com/users/SerayaEryn/followers","following_url":"https://api.github.com/users/SerayaEryn/following{/other_user}","gists_url":"https://api.github.com/users/SerayaEryn/gists{/gist_id}","starred_url":"https://api.github.com/users/SerayaEryn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SerayaEryn/subscriptions","organizations_url":"https://api.github.com/users/SerayaEryn/orgs","repos_url":"https://api.github.com/users/SerayaEryn/repos","events_url":"https://api.github.com/users/SerayaEryn/events{/privacy}","received_events_url":"https://api.github.com/users/SerayaEryn/received_events","type":"User","site_admin":false},"repo":{"id":146879259,"node_id":"MDEwOlJlcG9zaXRvcnkxNDY4NzkyNTk=","name":"turbo-json-parse","full_name":"SerayaEryn/turbo-json-parse","owner":{"login":"SerayaEryn","id":22620443,"node_id":"MDQ6VXNlcjIyNjIwNDQz","avatar_url":"https://avatars2.githubusercontent.com/u/22620443?v=4","gravatar_id":"","url":"https://api.github.com/users/SerayaEryn","html_url":"https://github.com/SerayaEryn","followers_url":"https://api.github.com/users/SerayaEryn/followers","following_url":"https://api.github.com/users/SerayaEryn/following{/other_user}","gists_url":"https://api.github.com/users/SerayaEryn/gists{/gist_id}","starred_url":"https://api.github.com/users/SerayaEryn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SerayaEryn/subscriptions","organizations_url":"https://api.github.com/users/SerayaEryn/orgs","repos_url":"https://api.github.com/users/SerayaEryn/repos","events_url":"https://api.github.com/users/SerayaEryn/events{/privacy}","received_events_url":"https://api.github.com/users/SerayaEryn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SerayaEryn/turbo-json-parse","description":"Turbocharged JSON.parse for type stable JSON data","fork":true,"url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse","forks_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/forks","keys_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/teams","hooks_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/hooks","issue_events_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/issues/events{/number}","events_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/events","assignees_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/assignees{/user}","branches_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/branches{/branch}","tags_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/tags","blobs_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/git/refs{/sha}","trees_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/statuses/{sha}","languages_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/languages","stargazers_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/stargazers","contributors_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/contributors","subscribers_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/subscribers","subscription_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/subscription","commits_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/commits{/sha}","git_commits_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/git/commits{/sha}","comments_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/comments{/number}","issue_comment_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/issues/comments{/number}","contents_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/contents/{+path}","compare_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/merges","archive_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/downloads","issues_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/issues{/number}","pulls_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/pulls{/number}","milestones_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/milestones{/number}","notifications_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/labels{/name}","releases_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/releases{/id}","deployments_url":"https://api.github.com/repos/SerayaEryn/turbo-json-parse/deployments","created_at":"2018-08-31T10:45:47Z","updated_at":"2018-08-31T10:45:48Z","pushed_at":"2018-08-31T13:26:00Z","git_url":"git://github.com/SerayaEryn/turbo-json-parse.git","ssh_url":"git@github.com:SerayaEryn/turbo-json-parse.git","clone_url":"https://github.com/SerayaEryn/turbo-json-parse.git","svn_url":"https://github.com/SerayaEryn/turbo-json-parse","homepage":"","size":40,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mafintosh:master","ref":"master","sha":"89bdf214cc76ccd707c498e4200eec338ad4a5f0","user":{"login":"mafintosh","id":376661,"node_id":"MDQ6VXNlcjM3NjY2MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/376661?v=4","gravatar_id":"","url":"https://api.github.com/users/mafintosh","html_url":"https://github.com/mafintosh","followers_url":"https://api.github.com/users/mafintosh/followers","following_url":"https://api.github.com/users/mafintosh/following{/other_user}","gists_url":"https://api.github.com/users/mafintosh/gists{/gist_id}","starred_url":"https://api.github.com/users/mafintosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mafintosh/subscriptions","organizations_url":"https://api.github.com/users/mafintosh/orgs","repos_url":"https://api.github.com/users/mafintosh/repos","events_url":"https://api.github.com/users/mafintosh/events{/privacy}","received_events_url":"https://api.github.com/users/mafintosh/received_events","type":"User","site_admin":false},"repo":{"id":146056300,"node_id":"MDEwOlJlcG9zaXRvcnkxNDYwNTYzMDA=","name":"turbo-json-parse","full_name":"mafintosh/turbo-json-parse","owner":{"login":"mafintosh","id":376661,"node_id":"MDQ6VXNlcjM3NjY2MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/376661?v=4","gravatar_id":"","url":"https://api.github.com/users/mafintosh","html_url":"https://github.com/mafintosh","followers_url":"https://api.github.com/users/mafintosh/followers","following_url":"https://api.github.com/users/mafintosh/following{/other_user}","gists_url":"https://api.github.com/users/mafintosh/gists{/gist_id}","starred_url":"https://api.github.com/users/mafintosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mafintosh/subscriptions","organizations_url":"https://api.github.com/users/mafintosh/orgs","repos_url":"https://api.github.com/users/mafintosh/repos","events_url":"https://api.github.com/users/mafintosh/events{/privacy}","received_events_url":"https://api.github.com/users/mafintosh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mafintosh/turbo-json-parse","description":"Turbocharged JSON.parse for type stable JSON data","fork":false,"url":"https://api.github.com/repos/mafintosh/turbo-json-parse","forks_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/forks","keys_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/teams","hooks_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/hooks","issue_events_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/issues/events{/number}","events_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/events","assignees_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/assignees{/user}","branches_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/branches{/branch}","tags_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/tags","blobs_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/git/refs{/sha}","trees_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/statuses/{sha}","languages_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/languages","stargazers_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/stargazers","contributors_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/contributors","subscribers_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/subscribers","subscription_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/subscription","commits_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/commits{/sha}","git_commits_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/git/commits{/sha}","comments_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/comments{/number}","issue_comment_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/issues/comments{/number}","contents_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/contents/{+path}","compare_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/merges","archive_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/downloads","issues_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/issues{/number}","pulls_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/pulls{/number}","milestones_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/milestones{/number}","notifications_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/labels{/name}","releases_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/releases{/id}","deployments_url":"https://api.github.com/repos/mafintosh/turbo-json-parse/deployments","created_at":"2018-08-25T01:59:20Z","updated_at":"2018-08-31T11:15:45Z","pushed_at":"2018-08-31T13:06:48Z","git_url":"git://github.com/mafintosh/turbo-json-parse.git","ssh_url":"git@github.com:mafintosh/turbo-json-parse.git","clone_url":"https://github.com/mafintosh/turbo-json-parse.git","svn_url":"https://github.com/mafintosh/turbo-json-parse","homepage":"","size":36,"stargazers_count":417,"watchers_count":417,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":12,"open_issues":5,"watchers":417,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mafintosh/turbo-json-parse/pulls/14"},"html":{"href":"https://github.com/mafintosh/turbo-json-parse/pull/14"},"issue":{"href":"https://api.github.com/repos/mafintosh/turbo-json-parse/issues/14"},"comments":{"href":"https://api.github.com/repos/mafintosh/turbo-json-parse/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/mafintosh/turbo-json-parse/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/mafintosh/turbo-json-parse/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mafintosh/turbo-json-parse/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/mafintosh/turbo-json-parse/statuses/be7e7d384d92125ea38d5b00a8401cbf753461d0"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":80,"deletions":11,"changed_files":4}}
{"actor":{"display_login":"SerayaEryn"}}