{"action":"created","comment":{"url":"https://api.github.com/repos/protostuff/protostuff/pulls/comments/45240395","id":45240395,"diff_hunk":"@@ -0,0 +1,87 @@\n+package io.protostuff;\n+\n+import io.protostuff.runtime.RuntimeSchema;\n+\n+import org.junit.Assert;\n+import org.junit.Before;\n+import org.junit.Test;\n+\n+/**\n+ * Test for ignoring unknown fields during de-seralization\n+ */\n+public class UnknownFieldTest {","path":"protostuff-json/src/test/java/io/protostuff/UnknownFieldTest.java","position":12,"original_position":12,"commit_id":"c57e308752868eb13ca93ecdd708dd2a2412a7e8","original_commit_id":"c57e308752868eb13ca93ecdd708dd2a2412a7e8","user":{"login":"kshchepanovskyi","id":4040120,"avatar_url":"https://avatars.githubusercontent.com/u/4040120?v=3","gravatar_id":"","url":"https://api.github.com/users/kshchepanovskyi","html_url":"https://github.com/kshchepanovskyi","followers_url":"https://api.github.com/users/kshchepanovskyi/followers","following_url":"https://api.github.com/users/kshchepanovskyi/following{/other_user}","gists_url":"https://api.github.com/users/kshchepanovskyi/gists{/gist_id}","starred_url":"https://api.github.com/users/kshchepanovskyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kshchepanovskyi/subscriptions","organizations_url":"https://api.github.com/users/kshchepanovskyi/orgs","repos_url":"https://api.github.com/users/kshchepanovskyi/repos","events_url":"https://api.github.com/users/kshchepanovskyi/events{/privacy}","received_events_url":"https://api.github.com/users/kshchepanovskyi/received_events","type":"User","site_admin":false},"body":"Please rename it to `JsonUnknownFieldTest`.","created_at":"2015-11-18T18:39:21Z","updated_at":"2015-11-18T18:39:21Z","html_url":"https://github.com/protostuff/protostuff/pull/150#discussion_r45240395","pull_request_url":"https://api.github.com/repos/protostuff/protostuff/pulls/150","_links":{"self":{"href":"https://api.github.com/repos/protostuff/protostuff/pulls/comments/45240395"},"html":{"href":"https://github.com/protostuff/protostuff/pull/150#discussion_r45240395"},"pull_request":{"href":"https://api.github.com/repos/protostuff/protostuff/pulls/150"}}},"pull_request":{"url":"https://api.github.com/repos/protostuff/protostuff/pulls/150","id":51090365,"html_url":"https://github.com/protostuff/protostuff/pull/150","diff_url":"https://github.com/protostuff/protostuff/pull/150.diff","patch_url":"https://github.com/protostuff/protostuff/pull/150.patch","issue_url":"https://api.github.com/repos/protostuff/protostuff/issues/150","number":150,"state":"open","locked":false,"title":"Ignore all unknown JSON fields during de-seralization","user":{"login":"jnazander","id":4726607,"avatar_url":"https://avatars.githubusercontent.com/u/4726607?v=3","gravatar_id":"","url":"https://api.github.com/users/jnazander","html_url":"https://github.com/jnazander","followers_url":"https://api.github.com/users/jnazander/followers","following_url":"https://api.github.com/users/jnazander/following{/other_user}","gists_url":"https://api.github.com/users/jnazander/gists{/gist_id}","starred_url":"https://api.github.com/users/jnazander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnazander/subscriptions","organizations_url":"https://api.github.com/users/jnazander/orgs","repos_url":"https://api.github.com/users/jnazander/repos","events_url":"https://api.github.com/users/jnazander/events{/privacy}","received_events_url":"https://api.github.com/users/jnazander/received_events","type":"User","site_admin":false},"body":"Fix for #149 ","created_at":"2015-11-18T14:27:13Z","updated_at":"2015-11-18T18:39:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dbec3d5d4f95faa6e12dccb84b9af06389530500","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/protostuff/protostuff/pulls/150/commits","review_comments_url":"https://api.github.com/repos/protostuff/protostuff/pulls/150/comments","review_comment_url":"https://api.github.com/repos/protostuff/protostuff/pulls/comments{/number}","comments_url":"https://api.github.com/repos/protostuff/protostuff/issues/150/comments","statuses_url":"https://api.github.com/repos/protostuff/protostuff/statuses/c57e308752868eb13ca93ecdd708dd2a2412a7e8","head":{"label":"jnazander:fix-json-unokown-nested-fields","ref":"fix-json-unokown-nested-fields","sha":"c57e308752868eb13ca93ecdd708dd2a2412a7e8","user":{"login":"jnazander","id":4726607,"avatar_url":"https://avatars.githubusercontent.com/u/4726607?v=3","gravatar_id":"","url":"https://api.github.com/users/jnazander","html_url":"https://github.com/jnazander","followers_url":"https://api.github.com/users/jnazander/followers","following_url":"https://api.github.com/users/jnazander/following{/other_user}","gists_url":"https://api.github.com/users/jnazander/gists{/gist_id}","starred_url":"https://api.github.com/users/jnazander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnazander/subscriptions","organizations_url":"https://api.github.com/users/jnazander/orgs","repos_url":"https://api.github.com/users/jnazander/repos","events_url":"https://api.github.com/users/jnazander/events{/privacy}","received_events_url":"https://api.github.com/users/jnazander/received_events","type":"User","site_admin":false},"repo":{"id":46419239,"name":"protostuff","full_name":"jnazander/protostuff","owner":{"login":"jnazander","id":4726607,"avatar_url":"https://avatars.githubusercontent.com/u/4726607?v=3","gravatar_id":"","url":"https://api.github.com/users/jnazander","html_url":"https://github.com/jnazander","followers_url":"https://api.github.com/users/jnazander/followers","following_url":"https://api.github.com/users/jnazander/following{/other_user}","gists_url":"https://api.github.com/users/jnazander/gists{/gist_id}","starred_url":"https://api.github.com/users/jnazander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnazander/subscriptions","organizations_url":"https://api.github.com/users/jnazander/orgs","repos_url":"https://api.github.com/users/jnazander/repos","events_url":"https://api.github.com/users/jnazander/events{/privacy}","received_events_url":"https://api.github.com/users/jnazander/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jnazander/protostuff","description":"java serialization library, proto compiler, code generator","fork":true,"url":"https://api.github.com/repos/jnazander/protostuff","forks_url":"https://api.github.com/repos/jnazander/protostuff/forks","keys_url":"https://api.github.com/repos/jnazander/protostuff/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jnazander/protostuff/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jnazander/protostuff/teams","hooks_url":"https://api.github.com/repos/jnazander/protostuff/hooks","issue_events_url":"https://api.github.com/repos/jnazander/protostuff/issues/events{/number}","events_url":"https://api.github.com/repos/jnazander/protostuff/events","assignees_url":"https://api.github.com/repos/jnazander/protostuff/assignees{/user}","branches_url":"https://api.github.com/repos/jnazander/protostuff/branches{/branch}","tags_url":"https://api.github.com/repos/jnazander/protostuff/tags","blobs_url":"https://api.github.com/repos/jnazander/protostuff/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jnazander/protostuff/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jnazander/protostuff/git/refs{/sha}","trees_url":"https://api.github.com/repos/jnazander/protostuff/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jnazander/protostuff/statuses/{sha}","languages_url":"https://api.github.com/repos/jnazander/protostuff/languages","stargazers_url":"https://api.github.com/repos/jnazander/protostuff/stargazers","contributors_url":"https://api.github.com/repos/jnazander/protostuff/contributors","subscribers_url":"https://api.github.com/repos/jnazander/protostuff/subscribers","subscription_url":"https://api.github.com/repos/jnazander/protostuff/subscription","commits_url":"https://api.github.com/repos/jnazander/protostuff/commits{/sha}","git_commits_url":"https://api.github.com/repos/jnazander/protostuff/git/commits{/sha}","comments_url":"https://api.github.com/repos/jnazander/protostuff/comments{/number}","issue_comment_url":"https://api.github.com/repos/jnazander/protostuff/issues/comments{/number}","contents_url":"https://api.github.com/repos/jnazander/protostuff/contents/{+path}","compare_url":"https://api.github.com/repos/jnazander/protostuff/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jnazander/protostuff/merges","archive_url":"https://api.github.com/repos/jnazander/protostuff/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jnazander/protostuff/downloads","issues_url":"https://api.github.com/repos/jnazander/protostuff/issues{/number}","pulls_url":"https://api.github.com/repos/jnazander/protostuff/pulls{/number}","milestones_url":"https://api.github.com/repos/jnazander/protostuff/milestones{/number}","notifications_url":"https://api.github.com/repos/jnazander/protostuff/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jnazander/protostuff/labels{/name}","releases_url":"https://api.github.com/repos/jnazander/protostuff/releases{/id}","created_at":"2015-11-18T13:06:28Z","updated_at":"2015-11-18T13:06:30Z","pushed_at":"2015-11-18T14:22:06Z","git_url":"git://github.com/jnazander/protostuff.git","ssh_url":"git@github.com:jnazander/protostuff.git","clone_url":"https://github.com/jnazander/protostuff.git","svn_url":"https://github.com/jnazander/protostuff","homepage":null,"size":4838,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"protostuff:master","ref":"master","sha":"1dfc05ff4dba622e6c95d1e7d82f43b65f5ddd6a","user":{"login":"protostuff","id":6435333,"avatar_url":"https://avatars.githubusercontent.com/u/6435333?v=3","gravatar_id":"","url":"https://api.github.com/users/protostuff","html_url":"https://github.com/protostuff","followers_url":"https://api.github.com/users/protostuff/followers","following_url":"https://api.github.com/users/protostuff/following{/other_user}","gists_url":"https://api.github.com/users/protostuff/gists{/gist_id}","starred_url":"https://api.github.com/users/protostuff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/protostuff/subscriptions","organizations_url":"https://api.github.com/users/protostuff/orgs","repos_url":"https://api.github.com/users/protostuff/repos","events_url":"https://api.github.com/users/protostuff/events{/privacy}","received_events_url":"https://api.github.com/users/protostuff/received_events","type":"Organization","site_admin":false},"repo":{"id":16058167,"name":"protostuff","full_name":"protostuff/protostuff","owner":{"login":"protostuff","id":6435333,"avatar_url":"https://avatars.githubusercontent.com/u/6435333?v=3","gravatar_id":"","url":"https://api.github.com/users/protostuff","html_url":"https://github.com/protostuff","followers_url":"https://api.github.com/users/protostuff/followers","following_url":"https://api.github.com/users/protostuff/following{/other_user}","gists_url":"https://api.github.com/users/protostuff/gists{/gist_id}","starred_url":"https://api.github.com/users/protostuff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/protostuff/subscriptions","organizations_url":"https://api.github.com/users/protostuff/orgs","repos_url":"https://api.github.com/users/protostuff/repos","events_url":"https://api.github.com/users/protostuff/events{/privacy}","received_events_url":"https://api.github.com/users/protostuff/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/protostuff/protostuff","description":"java serialization library, proto compiler, code generator","fork":false,"url":"https://api.github.com/repos/protostuff/protostuff","forks_url":"https://api.github.com/repos/protostuff/protostuff/forks","keys_url":"https://api.github.com/repos/protostuff/protostuff/keys{/key_id}","collaborators_url":"https://api.github.com/repos/protostuff/protostuff/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/protostuff/protostuff/teams","hooks_url":"https://api.github.com/repos/protostuff/protostuff/hooks","issue_events_url":"https://api.github.com/repos/protostuff/protostuff/issues/events{/number}","events_url":"https://api.github.com/repos/protostuff/protostuff/events","assignees_url":"https://api.github.com/repos/protostuff/protostuff/assignees{/user}","branches_url":"https://api.github.com/repos/protostuff/protostuff/branches{/branch}","tags_url":"https://api.github.com/repos/protostuff/protostuff/tags","blobs_url":"https://api.github.com/repos/protostuff/protostuff/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/protostuff/protostuff/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/protostuff/protostuff/git/refs{/sha}","trees_url":"https://api.github.com/repos/protostuff/protostuff/git/trees{/sha}","statuses_url":"https://api.github.com/repos/protostuff/protostuff/statuses/{sha}","languages_url":"https://api.github.com/repos/protostuff/protostuff/languages","stargazers_url":"https://api.github.com/repos/protostuff/protostuff/stargazers","contributors_url":"https://api.github.com/repos/protostuff/protostuff/contributors","subscribers_url":"https://api.github.com/repos/protostuff/protostuff/subscribers","subscription_url":"https://api.github.com/repos/protostuff/protostuff/subscription","commits_url":"https://api.github.com/repos/protostuff/protostuff/commits{/sha}","git_commits_url":"https://api.github.com/repos/protostuff/protostuff/git/commits{/sha}","comments_url":"https://api.github.com/repos/protostuff/protostuff/comments{/number}","issue_comment_url":"https://api.github.com/repos/protostuff/protostuff/issues/comments{/number}","contents_url":"https://api.github.com/repos/protostuff/protostuff/contents/{+path}","compare_url":"https://api.github.com/repos/protostuff/protostuff/compare/{base}...{head}","merges_url":"https://api.github.com/repos/protostuff/protostuff/merges","archive_url":"https://api.github.com/repos/protostuff/protostuff/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/protostuff/protostuff/downloads","issues_url":"https://api.github.com/repos/protostuff/protostuff/issues{/number}","pulls_url":"https://api.github.com/repos/protostuff/protostuff/pulls{/number}","milestones_url":"https://api.github.com/repos/protostuff/protostuff/milestones{/number}","notifications_url":"https://api.github.com/repos/protostuff/protostuff/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/protostuff/protostuff/labels{/name}","releases_url":"https://api.github.com/repos/protostuff/protostuff/releases{/id}","created_at":"2014-01-20T01:22:51Z","updated_at":"2015-11-17T08:25:04Z","pushed_at":"2015-11-18T14:27:13Z","git_url":"git://github.com/protostuff/protostuff.git","ssh_url":"git@github.com:protostuff/protostuff.git","clone_url":"https://github.com/protostuff/protostuff.git","svn_url":"https://github.com/protostuff/protostuff","homepage":null,"size":6990,"stargazers_count":192,"watchers_count":192,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":49,"mirror_url":null,"open_issues_count":10,"forks":49,"open_issues":10,"watchers":192,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/protostuff/protostuff/pulls/150"},"html":{"href":"https://github.com/protostuff/protostuff/pull/150"},"issue":{"href":"https://api.github.com/repos/protostuff/protostuff/issues/150"},"comments":{"href":"https://api.github.com/repos/protostuff/protostuff/issues/150/comments"},"review_comments":{"href":"https://api.github.com/repos/protostuff/protostuff/pulls/150/comments"},"review_comment":{"href":"https://api.github.com/repos/protostuff/protostuff/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/protostuff/protostuff/pulls/150/commits"},"statuses":{"href":"https://api.github.com/repos/protostuff/protostuff/statuses/c57e308752868eb13ca93ecdd708dd2a2412a7e8"}}}}