{"action":"opened","number":13,"pull_request":{"url":"https://api.github.com/repos/andreyvit/json-diff/pulls/13","id":29316514,"html_url":"https://github.com/andreyvit/json-diff/pull/13","diff_url":"https://github.com/andreyvit/json-diff/pull/13.diff","patch_url":"https://github.com/andreyvit/json-diff/pull/13.patch","issue_url":"https://api.github.com/repos/andreyvit/json-diff/issues/13","number":13,"state":"open","locked":false,"title":"Colliding fuzzy matches test case","user":{"login":"qufighter","id":241858,"avatar_url":"https://avatars.githubusercontent.com/u/241858?v=3","gravatar_id":"","url":"https://api.github.com/users/qufighter","html_url":"https://github.com/qufighter","followers_url":"https://api.github.com/users/qufighter/followers","following_url":"https://api.github.com/users/qufighter/following{/other_user}","gists_url":"https://api.github.com/users/qufighter/gists{/gist_id}","starred_url":"https://api.github.com/users/qufighter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qufighter/subscriptions","organizations_url":"https://api.github.com/users/qufighter/orgs","repos_url":"https://api.github.com/users/qufighter/repos","events_url":"https://api.github.com/users/qufighter/events{/privacy}","received_events_url":"https://api.github.com/users/qufighter/received_events","type":"User","site_admin":false},"body":"basically it's squashed #8 with a test added\r\n\r\nI cherry-picked the new test into master to verify it fails before and succeeds after this patch... and all the other tests still work, I didn't really bother trying to understand the change too much, I just added a test case and it does seem to generate a better diff...\r\n\r\nHere is the error this test surfaces\r\n\r\n```\r\nAssertionError: [[\" \"],[\"+\",{\"name\":\"Foo\",\"a\":3,\"b\":1,\"c\":1}],[\" \"]] deepEqual [[\"+\",{\"name\":\"Foo\",\"a\":3,\"b\":1,\"c\":1}],[\"~\",{\"c__added\":1}],[\" \"]]\r\n```","created_at":"2015-02-14T06:09:36Z","updated_at":"2015-02-14T06:09:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/andreyvit/json-diff/pulls/13/commits","review_comments_url":"https://api.github.com/repos/andreyvit/json-diff/pulls/13/comments","review_comment_url":"https://api.github.com/repos/andreyvit/json-diff/pulls/comments/{number}","comments_url":"https://api.github.com/repos/andreyvit/json-diff/issues/13/comments","statuses_url":"https://api.github.com/repos/andreyvit/json-diff/statuses/cfd35d22934d63358420aa343e9a01fa54cd84a8","head":{"label":"qufighter:colliding-fuzzy-matches","ref":"colliding-fuzzy-matches","sha":"cfd35d22934d63358420aa343e9a01fa54cd84a8","user":{"login":"qufighter","id":241858,"avatar_url":"https://avatars.githubusercontent.com/u/241858?v=3","gravatar_id":"","url":"https://api.github.com/users/qufighter","html_url":"https://github.com/qufighter","followers_url":"https://api.github.com/users/qufighter/followers","following_url":"https://api.github.com/users/qufighter/following{/other_user}","gists_url":"https://api.github.com/users/qufighter/gists{/gist_id}","starred_url":"https://api.github.com/users/qufighter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qufighter/subscriptions","organizations_url":"https://api.github.com/users/qufighter/orgs","repos_url":"https://api.github.com/users/qufighter/repos","events_url":"https://api.github.com/users/qufighter/events{/privacy}","received_events_url":"https://api.github.com/users/qufighter/received_events","type":"User","site_admin":false},"repo":{"id":30785266,"name":"json-diff","full_name":"qufighter/json-diff","owner":{"login":"qufighter","id":241858,"avatar_url":"https://avatars.githubusercontent.com/u/241858?v=3","gravatar_id":"","url":"https://api.github.com/users/qufighter","html_url":"https://github.com/qufighter","followers_url":"https://api.github.com/users/qufighter/followers","following_url":"https://api.github.com/users/qufighter/following{/other_user}","gists_url":"https://api.github.com/users/qufighter/gists{/gist_id}","starred_url":"https://api.github.com/users/qufighter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qufighter/subscriptions","organizations_url":"https://api.github.com/users/qufighter/orgs","repos_url":"https://api.github.com/users/qufighter/repos","events_url":"https://api.github.com/users/qufighter/events{/privacy}","received_events_url":"https://api.github.com/users/qufighter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/qufighter/json-diff","description":"Structural diff for JSON files","fork":true,"url":"https://api.github.com/repos/qufighter/json-diff","forks_url":"https://api.github.com/repos/qufighter/json-diff/forks","keys_url":"https://api.github.com/repos/qufighter/json-diff/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qufighter/json-diff/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qufighter/json-diff/teams","hooks_url":"https://api.github.com/repos/qufighter/json-diff/hooks","issue_events_url":"https://api.github.com/repos/qufighter/json-diff/issues/events{/number}","events_url":"https://api.github.com/repos/qufighter/json-diff/events","assignees_url":"https://api.github.com/repos/qufighter/json-diff/assignees{/user}","branches_url":"https://api.github.com/repos/qufighter/json-diff/branches{/branch}","tags_url":"https://api.github.com/repos/qufighter/json-diff/tags","blobs_url":"https://api.github.com/repos/qufighter/json-diff/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qufighter/json-diff/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qufighter/json-diff/git/refs{/sha}","trees_url":"https://api.github.com/repos/qufighter/json-diff/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qufighter/json-diff/statuses/{sha}","languages_url":"https://api.github.com/repos/qufighter/json-diff/languages","stargazers_url":"https://api.github.com/repos/qufighter/json-diff/stargazers","contributors_url":"https://api.github.com/repos/qufighter/json-diff/contributors","subscribers_url":"https://api.github.com/repos/qufighter/json-diff/subscribers","subscription_url":"https://api.github.com/repos/qufighter/json-diff/subscription","commits_url":"https://api.github.com/repos/qufighter/json-diff/commits{/sha}","git_commits_url":"https://api.github.com/repos/qufighter/json-diff/git/commits{/sha}","comments_url":"https://api.github.com/repos/qufighter/json-diff/comments{/number}","issue_comment_url":"https://api.github.com/repos/qufighter/json-diff/issues/comments/{number}","contents_url":"https://api.github.com/repos/qufighter/json-diff/contents/{+path}","compare_url":"https://api.github.com/repos/qufighter/json-diff/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qufighter/json-diff/merges","archive_url":"https://api.github.com/repos/qufighter/json-diff/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qufighter/json-diff/downloads","issues_url":"https://api.github.com/repos/qufighter/json-diff/issues{/number}","pulls_url":"https://api.github.com/repos/qufighter/json-diff/pulls{/number}","milestones_url":"https://api.github.com/repos/qufighter/json-diff/milestones{/number}","notifications_url":"https://api.github.com/repos/qufighter/json-diff/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qufighter/json-diff/labels{/name}","releases_url":"https://api.github.com/repos/qufighter/json-diff/releases{/id}","created_at":"2015-02-14T02:53:59Z","updated_at":"2015-02-14T02:54:00Z","pushed_at":"2015-02-14T05:40:35Z","git_url":"git://github.com/qufighter/json-diff.git","ssh_url":"git@github.com:qufighter/json-diff.git","clone_url":"https://github.com/qufighter/json-diff.git","svn_url":"https://github.com/qufighter/json-diff","homepage":"","size":139,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"andreyvit:master","ref":"master","sha":"9a36fb2c8c6bc1f5922988318e1d677022aaf153","user":{"login":"andreyvit","id":5364,"avatar_url":"https://avatars.githubusercontent.com/u/5364?v=3","gravatar_id":"","url":"https://api.github.com/users/andreyvit","html_url":"https://github.com/andreyvit","followers_url":"https://api.github.com/users/andreyvit/followers","following_url":"https://api.github.com/users/andreyvit/following{/other_user}","gists_url":"https://api.github.com/users/andreyvit/gists{/gist_id}","starred_url":"https://api.github.com/users/andreyvit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreyvit/subscriptions","organizations_url":"https://api.github.com/users/andreyvit/orgs","repos_url":"https://api.github.com/users/andreyvit/repos","events_url":"https://api.github.com/users/andreyvit/events{/privacy}","received_events_url":"https://api.github.com/users/andreyvit/received_events","type":"User","site_admin":false},"repo":{"id":4049952,"name":"json-diff","full_name":"andreyvit/json-diff","owner":{"login":"andreyvit","id":5364,"avatar_url":"https://avatars.githubusercontent.com/u/5364?v=3","gravatar_id":"","url":"https://api.github.com/users/andreyvit","html_url":"https://github.com/andreyvit","followers_url":"https://api.github.com/users/andreyvit/followers","following_url":"https://api.github.com/users/andreyvit/following{/other_user}","gists_url":"https://api.github.com/users/andreyvit/gists{/gist_id}","starred_url":"https://api.github.com/users/andreyvit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreyvit/subscriptions","organizations_url":"https://api.github.com/users/andreyvit/orgs","repos_url":"https://api.github.com/users/andreyvit/repos","events_url":"https://api.github.com/users/andreyvit/events{/privacy}","received_events_url":"https://api.github.com/users/andreyvit/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andreyvit/json-diff","description":"Structural diff for JSON files","fork":false,"url":"https://api.github.com/repos/andreyvit/json-diff","forks_url":"https://api.github.com/repos/andreyvit/json-diff/forks","keys_url":"https://api.github.com/repos/andreyvit/json-diff/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andreyvit/json-diff/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andreyvit/json-diff/teams","hooks_url":"https://api.github.com/repos/andreyvit/json-diff/hooks","issue_events_url":"https://api.github.com/repos/andreyvit/json-diff/issues/events{/number}","events_url":"https://api.github.com/repos/andreyvit/json-diff/events","assignees_url":"https://api.github.com/repos/andreyvit/json-diff/assignees{/user}","branches_url":"https://api.github.com/repos/andreyvit/json-diff/branches{/branch}","tags_url":"https://api.github.com/repos/andreyvit/json-diff/tags","blobs_url":"https://api.github.com/repos/andreyvit/json-diff/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andreyvit/json-diff/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andreyvit/json-diff/git/refs{/sha}","trees_url":"https://api.github.com/repos/andreyvit/json-diff/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andreyvit/json-diff/statuses/{sha}","languages_url":"https://api.github.com/repos/andreyvit/json-diff/languages","stargazers_url":"https://api.github.com/repos/andreyvit/json-diff/stargazers","contributors_url":"https://api.github.com/repos/andreyvit/json-diff/contributors","subscribers_url":"https://api.github.com/repos/andreyvit/json-diff/subscribers","subscription_url":"https://api.github.com/repos/andreyvit/json-diff/subscription","commits_url":"https://api.github.com/repos/andreyvit/json-diff/commits{/sha}","git_commits_url":"https://api.github.com/repos/andreyvit/json-diff/git/commits{/sha}","comments_url":"https://api.github.com/repos/andreyvit/json-diff/comments{/number}","issue_comment_url":"https://api.github.com/repos/andreyvit/json-diff/issues/comments/{number}","contents_url":"https://api.github.com/repos/andreyvit/json-diff/contents/{+path}","compare_url":"https://api.github.com/repos/andreyvit/json-diff/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andreyvit/json-diff/merges","archive_url":"https://api.github.com/repos/andreyvit/json-diff/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andreyvit/json-diff/downloads","issues_url":"https://api.github.com/repos/andreyvit/json-diff/issues{/number}","pulls_url":"https://api.github.com/repos/andreyvit/json-diff/pulls{/number}","milestones_url":"https://api.github.com/repos/andreyvit/json-diff/milestones{/number}","notifications_url":"https://api.github.com/repos/andreyvit/json-diff/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andreyvit/json-diff/labels{/name}","releases_url":"https://api.github.com/repos/andreyvit/json-diff/releases{/id}","created_at":"2012-04-17T07:28:05Z","updated_at":"2015-02-12T08:13:31Z","pushed_at":"2014-12-16T02:35:54Z","git_url":"git://github.com/andreyvit/json-diff.git","ssh_url":"git@github.com:andreyvit/json-diff.git","clone_url":"https://github.com/andreyvit/json-diff.git","svn_url":"https://github.com/andreyvit/json-diff","homepage":"","size":232,"stargazers_count":146,"watchers_count":146,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":9,"mirror_url":null,"open_issues_count":8,"forks":9,"open_issues":8,"watchers":146,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andreyvit/json-diff/pulls/13"},"html":{"href":"https://github.com/andreyvit/json-diff/pull/13"},"issue":{"href":"https://api.github.com/repos/andreyvit/json-diff/issues/13"},"comments":{"href":"https://api.github.com/repos/andreyvit/json-diff/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/andreyvit/json-diff/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/andreyvit/json-diff/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/andreyvit/json-diff/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/andreyvit/json-diff/statuses/cfd35d22934d63358420aa343e9a01fa54cd84a8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":4,"deletions":1,"changed_files":2}}