{"action":"opened","number":29,"pull_request":{"url":"https://api.github.com/repos/dominictarr/config-chain/pulls/29","id":86234240,"html_url":"https://github.com/dominictarr/config-chain/pull/29","diff_url":"https://github.com/dominictarr/config-chain/pull/29.diff","patch_url":"https://github.com/dominictarr/config-chain/pull/29.patch","issue_url":"https://api.github.com/repos/dominictarr/config-chain/issues/29","number":29,"state":"open","locked":false,"title":"Add ability to declare comments in input JSON files","user":{"login":"freeqaz","id":4573221,"avatar_url":"https://avatars.githubusercontent.com/u/4573221?v=3","gravatar_id":"","url":"https://api.github.com/users/freeqaz","html_url":"https://github.com/freeqaz","followers_url":"https://api.github.com/users/freeqaz/followers","following_url":"https://api.github.com/users/freeqaz/following{/other_user}","gists_url":"https://api.github.com/users/freeqaz/gists{/gist_id}","starred_url":"https://api.github.com/users/freeqaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freeqaz/subscriptions","organizations_url":"https://api.github.com/users/freeqaz/orgs","repos_url":"https://api.github.com/users/freeqaz/repos","events_url":"https://api.github.com/users/freeqaz/events{/privacy}","received_events_url":"https://api.github.com/users/freeqaz/received_events","type":"User","site_admin":false},"body":"This is useful because I find that I often want to put comments in my JSON files, especially in production code.\r\n\r\nCurrently, I do this:\r\n```\r\n{\r\n  \"__my_amazing_comment\": \"this is a comment saying that the following line is funky\",\r\n  \"funky-thing\": \"I am some funky config that should have a comment\"\r\n}\r\n```\r\n\r\nBy allowing stripping comments, this can be better declared.\r\n```\r\n{\r\n  // This is a comment saying that the following line is funky\r\n  \"funky-thing\": \"I am some funky config that should have a comment\"\r\n}\r\n```","created_at":"2016-09-21T20:21:29Z","updated_at":"2016-09-21T20:21:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dominictarr/config-chain/pulls/29/commits","review_comments_url":"https://api.github.com/repos/dominictarr/config-chain/pulls/29/comments","review_comment_url":"https://api.github.com/repos/dominictarr/config-chain/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dominictarr/config-chain/issues/29/comments","statuses_url":"https://api.github.com/repos/dominictarr/config-chain/statuses/7376265d05adbf0f0546eb5da533014241fb33f3","head":{"label":"freeqaz:parse-comment-json","ref":"parse-comment-json","sha":"7376265d05adbf0f0546eb5da533014241fb33f3","user":{"login":"freeqaz","id":4573221,"avatar_url":"https://avatars.githubusercontent.com/u/4573221?v=3","gravatar_id":"","url":"https://api.github.com/users/freeqaz","html_url":"https://github.com/freeqaz","followers_url":"https://api.github.com/users/freeqaz/followers","following_url":"https://api.github.com/users/freeqaz/following{/other_user}","gists_url":"https://api.github.com/users/freeqaz/gists{/gist_id}","starred_url":"https://api.github.com/users/freeqaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freeqaz/subscriptions","organizations_url":"https://api.github.com/users/freeqaz/orgs","repos_url":"https://api.github.com/users/freeqaz/repos","events_url":"https://api.github.com/users/freeqaz/events{/privacy}","received_events_url":"https://api.github.com/users/freeqaz/received_events","type":"User","site_admin":false},"repo":{"id":68853370,"name":"config-chain","full_name":"freeqaz/config-chain","owner":{"login":"freeqaz","id":4573221,"avatar_url":"https://avatars.githubusercontent.com/u/4573221?v=3","gravatar_id":"","url":"https://api.github.com/users/freeqaz","html_url":"https://github.com/freeqaz","followers_url":"https://api.github.com/users/freeqaz/followers","following_url":"https://api.github.com/users/freeqaz/following{/other_user}","gists_url":"https://api.github.com/users/freeqaz/gists{/gist_id}","starred_url":"https://api.github.com/users/freeqaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freeqaz/subscriptions","organizations_url":"https://api.github.com/users/freeqaz/orgs","repos_url":"https://api.github.com/users/freeqaz/repos","events_url":"https://api.github.com/users/freeqaz/events{/privacy}","received_events_url":"https://api.github.com/users/freeqaz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/freeqaz/config-chain","description":"HANDLE CONFIGURATION ONCE AND FOR ALL","fork":true,"url":"https://api.github.com/repos/freeqaz/config-chain","forks_url":"https://api.github.com/repos/freeqaz/config-chain/forks","keys_url":"https://api.github.com/repos/freeqaz/config-chain/keys{/key_id}","collaborators_url":"https://api.github.com/repos/freeqaz/config-chain/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/freeqaz/config-chain/teams","hooks_url":"https://api.github.com/repos/freeqaz/config-chain/hooks","issue_events_url":"https://api.github.com/repos/freeqaz/config-chain/issues/events{/number}","events_url":"https://api.github.com/repos/freeqaz/config-chain/events","assignees_url":"https://api.github.com/repos/freeqaz/config-chain/assignees{/user}","branches_url":"https://api.github.com/repos/freeqaz/config-chain/branches{/branch}","tags_url":"https://api.github.com/repos/freeqaz/config-chain/tags","blobs_url":"https://api.github.com/repos/freeqaz/config-chain/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/freeqaz/config-chain/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/freeqaz/config-chain/git/refs{/sha}","trees_url":"https://api.github.com/repos/freeqaz/config-chain/git/trees{/sha}","statuses_url":"https://api.github.com/repos/freeqaz/config-chain/statuses/{sha}","languages_url":"https://api.github.com/repos/freeqaz/config-chain/languages","stargazers_url":"https://api.github.com/repos/freeqaz/config-chain/stargazers","contributors_url":"https://api.github.com/repos/freeqaz/config-chain/contributors","subscribers_url":"https://api.github.com/repos/freeqaz/config-chain/subscribers","subscription_url":"https://api.github.com/repos/freeqaz/config-chain/subscription","commits_url":"https://api.github.com/repos/freeqaz/config-chain/commits{/sha}","git_commits_url":"https://api.github.com/repos/freeqaz/config-chain/git/commits{/sha}","comments_url":"https://api.github.com/repos/freeqaz/config-chain/comments{/number}","issue_comment_url":"https://api.github.com/repos/freeqaz/config-chain/issues/comments{/number}","contents_url":"https://api.github.com/repos/freeqaz/config-chain/contents/{+path}","compare_url":"https://api.github.com/repos/freeqaz/config-chain/compare/{base}...{head}","merges_url":"https://api.github.com/repos/freeqaz/config-chain/merges","archive_url":"https://api.github.com/repos/freeqaz/config-chain/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/freeqaz/config-chain/downloads","issues_url":"https://api.github.com/repos/freeqaz/config-chain/issues{/number}","pulls_url":"https://api.github.com/repos/freeqaz/config-chain/pulls{/number}","milestones_url":"https://api.github.com/repos/freeqaz/config-chain/milestones{/number}","notifications_url":"https://api.github.com/repos/freeqaz/config-chain/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/freeqaz/config-chain/labels{/name}","releases_url":"https://api.github.com/repos/freeqaz/config-chain/releases{/id}","deployments_url":"https://api.github.com/repos/freeqaz/config-chain/deployments","created_at":"2016-09-21T20:05:37Z","updated_at":"2016-09-21T20:05:38Z","pushed_at":"2016-09-21T20:19:48Z","git_url":"git://github.com/freeqaz/config-chain.git","ssh_url":"git@github.com:freeqaz/config-chain.git","clone_url":"https://github.com/freeqaz/config-chain.git","svn_url":"https://github.com/freeqaz/config-chain","homepage":null,"size":51,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dominictarr:master","ref":"master","sha":"0b6db3e14b9cdbe31460292bc4caf3983f977816","user":{"login":"dominictarr","id":259374,"avatar_url":"https://avatars.githubusercontent.com/u/259374?v=3","gravatar_id":"","url":"https://api.github.com/users/dominictarr","html_url":"https://github.com/dominictarr","followers_url":"https://api.github.com/users/dominictarr/followers","following_url":"https://api.github.com/users/dominictarr/following{/other_user}","gists_url":"https://api.github.com/users/dominictarr/gists{/gist_id}","starred_url":"https://api.github.com/users/dominictarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominictarr/subscriptions","organizations_url":"https://api.github.com/users/dominictarr/orgs","repos_url":"https://api.github.com/users/dominictarr/repos","events_url":"https://api.github.com/users/dominictarr/events{/privacy}","received_events_url":"https://api.github.com/users/dominictarr/received_events","type":"User","site_admin":false},"repo":{"id":2301184,"name":"config-chain","full_name":"dominictarr/config-chain","owner":{"login":"dominictarr","id":259374,"avatar_url":"https://avatars.githubusercontent.com/u/259374?v=3","gravatar_id":"","url":"https://api.github.com/users/dominictarr","html_url":"https://github.com/dominictarr","followers_url":"https://api.github.com/users/dominictarr/followers","following_url":"https://api.github.com/users/dominictarr/following{/other_user}","gists_url":"https://api.github.com/users/dominictarr/gists{/gist_id}","starred_url":"https://api.github.com/users/dominictarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominictarr/subscriptions","organizations_url":"https://api.github.com/users/dominictarr/orgs","repos_url":"https://api.github.com/users/dominictarr/repos","events_url":"https://api.github.com/users/dominictarr/events{/privacy}","received_events_url":"https://api.github.com/users/dominictarr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dominictarr/config-chain","description":"HANDLE CONFIGURATION ONCE AND FOR ALL","fork":false,"url":"https://api.github.com/repos/dominictarr/config-chain","forks_url":"https://api.github.com/repos/dominictarr/config-chain/forks","keys_url":"https://api.github.com/repos/dominictarr/config-chain/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dominictarr/config-chain/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dominictarr/config-chain/teams","hooks_url":"https://api.github.com/repos/dominictarr/config-chain/hooks","issue_events_url":"https://api.github.com/repos/dominictarr/config-chain/issues/events{/number}","events_url":"https://api.github.com/repos/dominictarr/config-chain/events","assignees_url":"https://api.github.com/repos/dominictarr/config-chain/assignees{/user}","branches_url":"https://api.github.com/repos/dominictarr/config-chain/branches{/branch}","tags_url":"https://api.github.com/repos/dominictarr/config-chain/tags","blobs_url":"https://api.github.com/repos/dominictarr/config-chain/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dominictarr/config-chain/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dominictarr/config-chain/git/refs{/sha}","trees_url":"https://api.github.com/repos/dominictarr/config-chain/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dominictarr/config-chain/statuses/{sha}","languages_url":"https://api.github.com/repos/dominictarr/config-chain/languages","stargazers_url":"https://api.github.com/repos/dominictarr/config-chain/stargazers","contributors_url":"https://api.github.com/repos/dominictarr/config-chain/contributors","subscribers_url":"https://api.github.com/repos/dominictarr/config-chain/subscribers","subscription_url":"https://api.github.com/repos/dominictarr/config-chain/subscription","commits_url":"https://api.github.com/repos/dominictarr/config-chain/commits{/sha}","git_commits_url":"https://api.github.com/repos/dominictarr/config-chain/git/commits{/sha}","comments_url":"https://api.github.com/repos/dominictarr/config-chain/comments{/number}","issue_comment_url":"https://api.github.com/repos/dominictarr/config-chain/issues/comments{/number}","contents_url":"https://api.github.com/repos/dominictarr/config-chain/contents/{+path}","compare_url":"https://api.github.com/repos/dominictarr/config-chain/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dominictarr/config-chain/merges","archive_url":"https://api.github.com/repos/dominictarr/config-chain/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dominictarr/config-chain/downloads","issues_url":"https://api.github.com/repos/dominictarr/config-chain/issues{/number}","pulls_url":"https://api.github.com/repos/dominictarr/config-chain/pulls{/number}","milestones_url":"https://api.github.com/repos/dominictarr/config-chain/milestones{/number}","notifications_url":"https://api.github.com/repos/dominictarr/config-chain/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dominictarr/config-chain/labels{/name}","releases_url":"https://api.github.com/repos/dominictarr/config-chain/releases{/id}","deployments_url":"https://api.github.com/repos/dominictarr/config-chain/deployments","created_at":"2011-08-31T11:38:58Z","updated_at":"2016-09-21T12:59:00Z","pushed_at":"2016-05-02T02:51:22Z","git_url":"git://github.com/dominictarr/config-chain.git","ssh_url":"git@github.com:dominictarr/config-chain.git","clone_url":"https://github.com/dominictarr/config-chain.git","svn_url":"https://github.com/dominictarr/config-chain","homepage":null,"size":51,"stargazers_count":80,"watchers_count":80,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":7,"forks":22,"open_issues":7,"watchers":80,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dominictarr/config-chain/pulls/29"},"html":{"href":"https://github.com/dominictarr/config-chain/pull/29"},"issue":{"href":"https://api.github.com/repos/dominictarr/config-chain/issues/29"},"comments":{"href":"https://api.github.com/repos/dominictarr/config-chain/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/dominictarr/config-chain/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/dominictarr/config-chain/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dominictarr/config-chain/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/dominictarr/config-chain/statuses/7376265d05adbf0f0546eb5da533014241fb33f3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":3,"changed_files":3}}
{"actor":{"display_login":"freeqaz"}}