{"action":"created","comment":{"url":"https://api.github.com/repos/kpdecker/jsdiff/pulls/comments/91547084","pull_request_review_id":12056963,"id":91547084,"diff_hunk":"@@ -66,6 +66,27 @@ describe('diff/json', function() {\n       )).to.eql([\n         { count: 4, value: '{\\n  \"a\": 123,\\n  \"b\": 456\\n}' }\n       ]);\n+      expect(diffJson(\n+        {a: 123, b: 456, c: undefined},\n+        {a: 123, b: 456},\n+        {undefinedReplacement: null}\n+      )).to.eql([\n+        { count: 3, value: '{\\n  \"a\": 123,\\n  \"b\": 456,\\n' },\n+        { count: 1, value: '  \"c\": null\\n', added: undefined, removed: true },\n+        { count: 1, value: '}' }\n+      ]);\n+    });\n+\n+    it('should handle callback', function(done) {","path":"test/diff/json.js","position":15,"original_position":15,"commit_id":"740dcdf5d3da800f177ef86d1923bf60d8d5c674","original_commit_id":"740dcdf5d3da800f177ef86d1923bf60d8d5c674","user":{"login":"ewnd9","id":1713789,"avatar_url":"https://avatars.githubusercontent.com/u/1713789?v=3","gravatar_id":"","url":"https://api.github.com/users/ewnd9","html_url":"https://github.com/ewnd9","followers_url":"https://api.github.com/users/ewnd9/followers","following_url":"https://api.github.com/users/ewnd9/following{/other_user}","gists_url":"https://api.github.com/users/ewnd9/gists{/gist_id}","starred_url":"https://api.github.com/users/ewnd9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ewnd9/subscriptions","organizations_url":"https://api.github.com/users/ewnd9/orgs","repos_url":"https://api.github.com/users/ewnd9/repos","events_url":"https://api.github.com/users/ewnd9/events{/privacy}","received_events_url":"https://api.github.com/users/ewnd9/received_events","type":"User","site_admin":false},"body":"I had to add this to keep coverage at 100% which was dropped due to code below\r\n\r\n```js\r\nif (typeof options === 'function') {\r\n  callback = options;\r\n  options = {};\r\n}\r\n```\r\n\r\n","created_at":"2016-12-08T16:17:17Z","updated_at":"2016-12-08T16:17:17Z","html_url":"https://github.com/kpdecker/jsdiff/pull/156#discussion_r91547084","pull_request_url":"https://api.github.com/repos/kpdecker/jsdiff/pulls/156","_links":{"self":{"href":"https://api.github.com/repos/kpdecker/jsdiff/pulls/comments/91547084"},"html":{"href":"https://github.com/kpdecker/jsdiff/pull/156#discussion_r91547084"},"pull_request":{"href":"https://api.github.com/repos/kpdecker/jsdiff/pulls/156"}}},"pull_request":{"url":"https://api.github.com/repos/kpdecker/jsdiff/pulls/156","id":97151892,"html_url":"https://github.com/kpdecker/jsdiff/pull/156","diff_url":"https://github.com/kpdecker/jsdiff/pull/156.diff","patch_url":"https://github.com/kpdecker/jsdiff/pull/156.patch","issue_url":"https://api.github.com/repos/kpdecker/jsdiff/issues/156","number":156,"state":"open","locked":false,"title":"Add `undefinedReplacement` option to `diffJson`","user":{"login":"ewnd9","id":1713789,"avatar_url":"https://avatars.githubusercontent.com/u/1713789?v=3","gravatar_id":"","url":"https://api.github.com/users/ewnd9","html_url":"https://github.com/ewnd9","followers_url":"https://api.github.com/users/ewnd9/followers","following_url":"https://api.github.com/users/ewnd9/following{/other_user}","gists_url":"https://api.github.com/users/ewnd9/gists{/gist_id}","starred_url":"https://api.github.com/users/ewnd9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ewnd9/subscriptions","organizations_url":"https://api.github.com/users/ewnd9/orgs","repos_url":"https://api.github.com/users/ewnd9/repos","events_url":"https://api.github.com/users/ewnd9/events{/privacy}","received_events_url":"https://api.github.com/users/ewnd9/received_events","type":"User","site_admin":false},"body":"Fixes #155\r\n\r\nPlease, let me know if I need to change styling / rename `undefinedReplacement` to something more concise / anything else.","created_at":"2016-12-08T16:13:56Z","updated_at":"2016-12-08T16:17:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2b96b831a871e84fa012633e7f048740a55622b2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/kpdecker/jsdiff/pulls/156/commits","review_comments_url":"https://api.github.com/repos/kpdecker/jsdiff/pulls/156/comments","review_comment_url":"https://api.github.com/repos/kpdecker/jsdiff/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kpdecker/jsdiff/issues/156/comments","statuses_url":"https://api.github.com/repos/kpdecker/jsdiff/statuses/740dcdf5d3da800f177ef86d1923bf60d8d5c674","head":{"label":"ewnd9:patch-1","ref":"patch-1","sha":"740dcdf5d3da800f177ef86d1923bf60d8d5c674","user":{"login":"ewnd9","id":1713789,"avatar_url":"https://avatars.githubusercontent.com/u/1713789?v=3","gravatar_id":"","url":"https://api.github.com/users/ewnd9","html_url":"https://github.com/ewnd9","followers_url":"https://api.github.com/users/ewnd9/followers","following_url":"https://api.github.com/users/ewnd9/following{/other_user}","gists_url":"https://api.github.com/users/ewnd9/gists{/gist_id}","starred_url":"https://api.github.com/users/ewnd9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ewnd9/subscriptions","organizations_url":"https://api.github.com/users/ewnd9/orgs","repos_url":"https://api.github.com/users/ewnd9/repos","events_url":"https://api.github.com/users/ewnd9/events{/privacy}","received_events_url":"https://api.github.com/users/ewnd9/received_events","type":"User","site_admin":false},"repo":{"id":72944740,"name":"jsdiff","full_name":"ewnd9/jsdiff","owner":{"login":"ewnd9","id":1713789,"avatar_url":"https://avatars.githubusercontent.com/u/1713789?v=3","gravatar_id":"","url":"https://api.github.com/users/ewnd9","html_url":"https://github.com/ewnd9","followers_url":"https://api.github.com/users/ewnd9/followers","following_url":"https://api.github.com/users/ewnd9/following{/other_user}","gists_url":"https://api.github.com/users/ewnd9/gists{/gist_id}","starred_url":"https://api.github.com/users/ewnd9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ewnd9/subscriptions","organizations_url":"https://api.github.com/users/ewnd9/orgs","repos_url":"https://api.github.com/users/ewnd9/repos","events_url":"https://api.github.com/users/ewnd9/events{/privacy}","received_events_url":"https://api.github.com/users/ewnd9/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ewnd9/jsdiff","description":"A javascript text differencing implementation.","fork":true,"url":"https://api.github.com/repos/ewnd9/jsdiff","forks_url":"https://api.github.com/repos/ewnd9/jsdiff/forks","keys_url":"https://api.github.com/repos/ewnd9/jsdiff/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ewnd9/jsdiff/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ewnd9/jsdiff/teams","hooks_url":"https://api.github.com/repos/ewnd9/jsdiff/hooks","issue_events_url":"https://api.github.com/repos/ewnd9/jsdiff/issues/events{/number}","events_url":"https://api.github.com/repos/ewnd9/jsdiff/events","assignees_url":"https://api.github.com/repos/ewnd9/jsdiff/assignees{/user}","branches_url":"https://api.github.com/repos/ewnd9/jsdiff/branches{/branch}","tags_url":"https://api.github.com/repos/ewnd9/jsdiff/tags","blobs_url":"https://api.github.com/repos/ewnd9/jsdiff/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ewnd9/jsdiff/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ewnd9/jsdiff/git/refs{/sha}","trees_url":"https://api.github.com/repos/ewnd9/jsdiff/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ewnd9/jsdiff/statuses/{sha}","languages_url":"https://api.github.com/repos/ewnd9/jsdiff/languages","stargazers_url":"https://api.github.com/repos/ewnd9/jsdiff/stargazers","contributors_url":"https://api.github.com/repos/ewnd9/jsdiff/contributors","subscribers_url":"https://api.github.com/repos/ewnd9/jsdiff/subscribers","subscription_url":"https://api.github.com/repos/ewnd9/jsdiff/subscription","commits_url":"https://api.github.com/repos/ewnd9/jsdiff/commits{/sha}","git_commits_url":"https://api.github.com/repos/ewnd9/jsdiff/git/commits{/sha}","comments_url":"https://api.github.com/repos/ewnd9/jsdiff/comments{/number}","issue_comment_url":"https://api.github.com/repos/ewnd9/jsdiff/issues/comments{/number}","contents_url":"https://api.github.com/repos/ewnd9/jsdiff/contents/{+path}","compare_url":"https://api.github.com/repos/ewnd9/jsdiff/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ewnd9/jsdiff/merges","archive_url":"https://api.github.com/repos/ewnd9/jsdiff/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ewnd9/jsdiff/downloads","issues_url":"https://api.github.com/repos/ewnd9/jsdiff/issues{/number}","pulls_url":"https://api.github.com/repos/ewnd9/jsdiff/pulls{/number}","milestones_url":"https://api.github.com/repos/ewnd9/jsdiff/milestones{/number}","notifications_url":"https://api.github.com/repos/ewnd9/jsdiff/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ewnd9/jsdiff/labels{/name}","releases_url":"https://api.github.com/repos/ewnd9/jsdiff/releases{/id}","deployments_url":"https://api.github.com/repos/ewnd9/jsdiff/deployments","created_at":"2016-11-05T18:14:56Z","updated_at":"2016-11-05T18:14:57Z","pushed_at":"2016-12-08T16:12:37Z","git_url":"git://github.com/ewnd9/jsdiff.git","ssh_url":"git@github.com:ewnd9/jsdiff.git","clone_url":"https://github.com/ewnd9/jsdiff.git","svn_url":"https://github.com/ewnd9/jsdiff","homepage":"","size":357,"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":"kpdecker:master","ref":"master","sha":"870aa158609ecdba74b11fbda62f583318481c68","user":{"login":"kpdecker","id":196390,"avatar_url":"https://avatars.githubusercontent.com/u/196390?v=3","gravatar_id":"","url":"https://api.github.com/users/kpdecker","html_url":"https://github.com/kpdecker","followers_url":"https://api.github.com/users/kpdecker/followers","following_url":"https://api.github.com/users/kpdecker/following{/other_user}","gists_url":"https://api.github.com/users/kpdecker/gists{/gist_id}","starred_url":"https://api.github.com/users/kpdecker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpdecker/subscriptions","organizations_url":"https://api.github.com/users/kpdecker/orgs","repos_url":"https://api.github.com/users/kpdecker/repos","events_url":"https://api.github.com/users/kpdecker/events{/privacy}","received_events_url":"https://api.github.com/users/kpdecker/received_events","type":"User","site_admin":false},"repo":{"id":1542219,"name":"jsdiff","full_name":"kpdecker/jsdiff","owner":{"login":"kpdecker","id":196390,"avatar_url":"https://avatars.githubusercontent.com/u/196390?v=3","gravatar_id":"","url":"https://api.github.com/users/kpdecker","html_url":"https://github.com/kpdecker","followers_url":"https://api.github.com/users/kpdecker/followers","following_url":"https://api.github.com/users/kpdecker/following{/other_user}","gists_url":"https://api.github.com/users/kpdecker/gists{/gist_id}","starred_url":"https://api.github.com/users/kpdecker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpdecker/subscriptions","organizations_url":"https://api.github.com/users/kpdecker/orgs","repos_url":"https://api.github.com/users/kpdecker/repos","events_url":"https://api.github.com/users/kpdecker/events{/privacy}","received_events_url":"https://api.github.com/users/kpdecker/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kpdecker/jsdiff","description":"A javascript text differencing implementation.","fork":false,"url":"https://api.github.com/repos/kpdecker/jsdiff","forks_url":"https://api.github.com/repos/kpdecker/jsdiff/forks","keys_url":"https://api.github.com/repos/kpdecker/jsdiff/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kpdecker/jsdiff/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kpdecker/jsdiff/teams","hooks_url":"https://api.github.com/repos/kpdecker/jsdiff/hooks","issue_events_url":"https://api.github.com/repos/kpdecker/jsdiff/issues/events{/number}","events_url":"https://api.github.com/repos/kpdecker/jsdiff/events","assignees_url":"https://api.github.com/repos/kpdecker/jsdiff/assignees{/user}","branches_url":"https://api.github.com/repos/kpdecker/jsdiff/branches{/branch}","tags_url":"https://api.github.com/repos/kpdecker/jsdiff/tags","blobs_url":"https://api.github.com/repos/kpdecker/jsdiff/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kpdecker/jsdiff/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kpdecker/jsdiff/git/refs{/sha}","trees_url":"https://api.github.com/repos/kpdecker/jsdiff/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kpdecker/jsdiff/statuses/{sha}","languages_url":"https://api.github.com/repos/kpdecker/jsdiff/languages","stargazers_url":"https://api.github.com/repos/kpdecker/jsdiff/stargazers","contributors_url":"https://api.github.com/repos/kpdecker/jsdiff/contributors","subscribers_url":"https://api.github.com/repos/kpdecker/jsdiff/subscribers","subscription_url":"https://api.github.com/repos/kpdecker/jsdiff/subscription","commits_url":"https://api.github.com/repos/kpdecker/jsdiff/commits{/sha}","git_commits_url":"https://api.github.com/repos/kpdecker/jsdiff/git/commits{/sha}","comments_url":"https://api.github.com/repos/kpdecker/jsdiff/comments{/number}","issue_comment_url":"https://api.github.com/repos/kpdecker/jsdiff/issues/comments{/number}","contents_url":"https://api.github.com/repos/kpdecker/jsdiff/contents/{+path}","compare_url":"https://api.github.com/repos/kpdecker/jsdiff/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kpdecker/jsdiff/merges","archive_url":"https://api.github.com/repos/kpdecker/jsdiff/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kpdecker/jsdiff/downloads","issues_url":"https://api.github.com/repos/kpdecker/jsdiff/issues{/number}","pulls_url":"https://api.github.com/repos/kpdecker/jsdiff/pulls{/number}","milestones_url":"https://api.github.com/repos/kpdecker/jsdiff/milestones{/number}","notifications_url":"https://api.github.com/repos/kpdecker/jsdiff/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kpdecker/jsdiff/labels{/name}","releases_url":"https://api.github.com/repos/kpdecker/jsdiff/releases{/id}","deployments_url":"https://api.github.com/repos/kpdecker/jsdiff/deployments","created_at":"2011-03-29T16:25:28Z","updated_at":"2016-12-07T14:50:26Z","pushed_at":"2016-12-08T16:13:56Z","git_url":"git://github.com/kpdecker/jsdiff.git","ssh_url":"git@github.com:kpdecker/jsdiff.git","clone_url":"https://github.com/kpdecker/jsdiff.git","svn_url":"https://github.com/kpdecker/jsdiff","homepage":"","size":517,"stargazers_count":1717,"watchers_count":1717,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":138,"mirror_url":null,"open_issues_count":30,"forks":138,"open_issues":30,"watchers":1717,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kpdecker/jsdiff/pulls/156"},"html":{"href":"https://github.com/kpdecker/jsdiff/pull/156"},"issue":{"href":"https://api.github.com/repos/kpdecker/jsdiff/issues/156"},"comments":{"href":"https://api.github.com/repos/kpdecker/jsdiff/issues/156/comments"},"review_comments":{"href":"https://api.github.com/repos/kpdecker/jsdiff/pulls/156/comments"},"review_comment":{"href":"https://api.github.com/repos/kpdecker/jsdiff/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kpdecker/jsdiff/pulls/156/commits"},"statuses":{"href":"https://api.github.com/repos/kpdecker/jsdiff/statuses/740dcdf5d3da800f177ef86d1923bf60d8d5c674"}}}}
{"actor":{"display_login":"ewnd9"}}