{"action":"created","comment":{"url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/pulls/comments/22588907","id":22588907,"diff_hunk":"@@ -0,0 +1,110 @@\n+package org.wikidata.wdtk.datamodel.helpers;\n+\n+import java.util.List;\n+\n+import org.wikidata.wdtk.datamodel.interfaces.DatatypeIdValue;\n+import org.wikidata.wdtk.datamodel.interfaces.EntityIdValue;\n+import org.wikidata.wdtk.datamodel.interfaces.GlobeCoordinatesValue;\n+import org.wikidata.wdtk.datamodel.interfaces.ItemDocument;\n+import org.wikidata.wdtk.datamodel.interfaces.MonolingualTextValue;\n+import org.wikidata.wdtk.datamodel.interfaces.NoValueSnak;\n+import org.wikidata.wdtk.datamodel.interfaces.QuantityValue;\n+import org.wikidata.wdtk.datamodel.interfaces.Snak;\n+import org.wikidata.wdtk.datamodel.interfaces.SnakGroup;\n+import org.wikidata.wdtk.datamodel.interfaces.SnakVisitor;\n+import org.wikidata.wdtk.datamodel.interfaces.SomeValueSnak;\n+import org.wikidata.wdtk.datamodel.interfaces.Statement;\n+import org.wikidata.wdtk.datamodel.interfaces.StatementGroup;\n+import org.wikidata.wdtk.datamodel.interfaces.StringValue;\n+import org.wikidata.wdtk.datamodel.interfaces.TimeValue;\n+import org.wikidata.wdtk.datamodel.interfaces.ValueSnak;\n+import org.wikidata.wdtk.datamodel.interfaces.ValueVisitor;\n+\n+// TODO this is still completely rudimentary","path":"wdtk-datamodel/src/main/java/org/wikidata/wdtk/datamodel/helpers/TypeInspector.java","position":23,"original_position":23,"commit_id":"dd7f4a3db6dd02fd7aa64ffaf03dd7bee2b26a6a","original_commit_id":"dd7f4a3db6dd02fd7aa64ffaf03dd7bee2b26a6a","user":{"login":"mkroetzsch","id":110881,"avatar_url":"https://avatars.githubusercontent.com/u/110881?v=3","gravatar_id":"","url":"https://api.github.com/users/mkroetzsch","html_url":"https://github.com/mkroetzsch","followers_url":"https://api.github.com/users/mkroetzsch/followers","following_url":"https://api.github.com/users/mkroetzsch/following{/other_user}","gists_url":"https://api.github.com/users/mkroetzsch/gists{/gist_id}","starred_url":"https://api.github.com/users/mkroetzsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkroetzsch/subscriptions","organizations_url":"https://api.github.com/users/mkroetzsch/orgs","repos_url":"https://api.github.com/users/mkroetzsch/repos","events_url":"https://api.github.com/users/mkroetzsch/events{/privacy}","received_events_url":"https://api.github.com/users/mkroetzsch/received_events","type":"User","site_admin":false},"body":"TODO: document","created_at":"2015-01-07T14:44:07Z","updated_at":"2015-01-07T14:44:07Z","html_url":"https://github.com/Wikidata/Wikidata-Toolkit/pull/110#discussion_r22588907","pull_request_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/pulls/110","_links":{"self":{"href":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/pulls/comments/22588907"},"html":{"href":"https://github.com/Wikidata/Wikidata-Toolkit/pull/110#discussion_r22588907"},"pull_request":{"href":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/pulls/110"}}},"pull_request":{"url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/pulls/110","id":26644698,"html_url":"https://github.com/Wikidata/Wikidata-Toolkit/pull/110","diff_url":"https://github.com/Wikidata/Wikidata-Toolkit/pull/110.diff","patch_url":"https://github.com/Wikidata/Wikidata-Toolkit/pull/110.patch","issue_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/issues/110","number":110,"state":"open","locked":false,"title":"Serializable datamodel pull","user":{"login":"fer-rum","id":6595073,"avatar_url":"https://avatars.githubusercontent.com/u/6595073?v=3","gravatar_id":"","url":"https://api.github.com/users/fer-rum","html_url":"https://github.com/fer-rum","followers_url":"https://api.github.com/users/fer-rum/followers","following_url":"https://api.github.com/users/fer-rum/following{/other_user}","gists_url":"https://api.github.com/users/fer-rum/gists{/gist_id}","starred_url":"https://api.github.com/users/fer-rum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fer-rum/subscriptions","organizations_url":"https://api.github.com/users/fer-rum/orgs","repos_url":"https://api.github.com/users/fer-rum/repos","events_url":"https://api.github.com/users/fer-rum/events{/privacy}","received_events_url":"https://api.github.com/users/fer-rum/received_events","type":"User","site_admin":false},"body":"This pull request contains:\r\n\r\n* Serializable implementation for the standard datamodel\r\n* Extension to the ```DatamodelConverter``` that allow true deep cpoies (Draft)\r\n* A ```TypeInspector``` class that simply can list the types involved in the structure of a given ```ItemDocument```. This was used for debugging purposes, but I found it a nice idea, so I included the draft\r\n* A fix for the unknown JsonProperty in the ```JacksonPropertyDocument``` (again? I think it should already be in master)","created_at":"2014-12-29T13:52:00Z","updated_at":"2015-01-07T14:44:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8f42cd89a6f6cdf5fa78309e1fc65148aac59c4d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/pulls/110/commits","review_comments_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/pulls/110/comments","review_comment_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/issues/110/comments","statuses_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/statuses/dd7f4a3db6dd02fd7aa64ffaf03dd7bee2b26a6a","head":{"label":"Wikidata:serializable_datamodel_pull_basic","ref":"serializable_datamodel_pull_basic","sha":"dd7f4a3db6dd02fd7aa64ffaf03dd7bee2b26a6a","user":{"login":"Wikidata","id":2691628,"avatar_url":"https://avatars.githubusercontent.com/u/2691628?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikidata","html_url":"https://github.com/Wikidata","followers_url":"https://api.github.com/users/Wikidata/followers","following_url":"https://api.github.com/users/Wikidata/following{/other_user}","gists_url":"https://api.github.com/users/Wikidata/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikidata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikidata/subscriptions","organizations_url":"https://api.github.com/users/Wikidata/orgs","repos_url":"https://api.github.com/users/Wikidata/repos","events_url":"https://api.github.com/users/Wikidata/events{/privacy}","received_events_url":"https://api.github.com/users/Wikidata/received_events","type":"Organization","site_admin":false},"repo":{"id":16144428,"name":"Wikidata-Toolkit","full_name":"Wikidata/Wikidata-Toolkit","owner":{"login":"Wikidata","id":2691628,"avatar_url":"https://avatars.githubusercontent.com/u/2691628?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikidata","html_url":"https://github.com/Wikidata","followers_url":"https://api.github.com/users/Wikidata/followers","following_url":"https://api.github.com/users/Wikidata/following{/other_user}","gists_url":"https://api.github.com/users/Wikidata/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikidata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikidata/subscriptions","organizations_url":"https://api.github.com/users/Wikidata/orgs","repos_url":"https://api.github.com/users/Wikidata/repos","events_url":"https://api.github.com/users/Wikidata/events{/privacy}","received_events_url":"https://api.github.com/users/Wikidata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Wikidata/Wikidata-Toolkit","description":"","fork":false,"url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit","forks_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/forks","keys_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/teams","hooks_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/hooks","issue_events_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/issues/events{/number}","events_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/events","assignees_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/assignees{/user}","branches_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/branches{/branch}","tags_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/tags","blobs_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/statuses/{sha}","languages_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/languages","stargazers_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/stargazers","contributors_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/contributors","subscribers_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/subscribers","subscription_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/subscription","commits_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/issues/comments/{number}","contents_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/contents/{+path}","compare_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/merges","archive_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/downloads","issues_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/issues{/number}","pulls_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/pulls{/number}","milestones_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/milestones{/number}","notifications_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/labels{/name}","releases_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/releases{/id}","created_at":"2014-01-22T16:15:09Z","updated_at":"2015-01-06T21:09:40Z","pushed_at":"2015-01-05T16:27:42Z","git_url":"git://github.com/Wikidata/Wikidata-Toolkit.git","ssh_url":"git@github.com:Wikidata/Wikidata-Toolkit.git","clone_url":"https://github.com/Wikidata/Wikidata-Toolkit.git","svn_url":"https://github.com/Wikidata/Wikidata-Toolkit","homepage":"https://www.mediawiki.org/wiki/Wikidata_Toolkit","size":6472,"stargazers_count":47,"watchers_count":47,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":12,"mirror_url":null,"open_issues_count":16,"forks":12,"open_issues":16,"watchers":47,"default_branch":"master"}},"base":{"label":"Wikidata:master","ref":"master","sha":"d40a36357fe5ffaa2dc85ae6bcbbbf9ff0a43f14","user":{"login":"Wikidata","id":2691628,"avatar_url":"https://avatars.githubusercontent.com/u/2691628?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikidata","html_url":"https://github.com/Wikidata","followers_url":"https://api.github.com/users/Wikidata/followers","following_url":"https://api.github.com/users/Wikidata/following{/other_user}","gists_url":"https://api.github.com/users/Wikidata/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikidata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikidata/subscriptions","organizations_url":"https://api.github.com/users/Wikidata/orgs","repos_url":"https://api.github.com/users/Wikidata/repos","events_url":"https://api.github.com/users/Wikidata/events{/privacy}","received_events_url":"https://api.github.com/users/Wikidata/received_events","type":"Organization","site_admin":false},"repo":{"id":16144428,"name":"Wikidata-Toolkit","full_name":"Wikidata/Wikidata-Toolkit","owner":{"login":"Wikidata","id":2691628,"avatar_url":"https://avatars.githubusercontent.com/u/2691628?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikidata","html_url":"https://github.com/Wikidata","followers_url":"https://api.github.com/users/Wikidata/followers","following_url":"https://api.github.com/users/Wikidata/following{/other_user}","gists_url":"https://api.github.com/users/Wikidata/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikidata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikidata/subscriptions","organizations_url":"https://api.github.com/users/Wikidata/orgs","repos_url":"https://api.github.com/users/Wikidata/repos","events_url":"https://api.github.com/users/Wikidata/events{/privacy}","received_events_url":"https://api.github.com/users/Wikidata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Wikidata/Wikidata-Toolkit","description":"","fork":false,"url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit","forks_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/forks","keys_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/teams","hooks_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/hooks","issue_events_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/issues/events{/number}","events_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/events","assignees_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/assignees{/user}","branches_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/branches{/branch}","tags_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/tags","blobs_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/statuses/{sha}","languages_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/languages","stargazers_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/stargazers","contributors_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/contributors","subscribers_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/subscribers","subscription_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/subscription","commits_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/issues/comments/{number}","contents_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/contents/{+path}","compare_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/merges","archive_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/downloads","issues_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/issues{/number}","pulls_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/pulls{/number}","milestones_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/milestones{/number}","notifications_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/labels{/name}","releases_url":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/releases{/id}","created_at":"2014-01-22T16:15:09Z","updated_at":"2015-01-06T21:09:40Z","pushed_at":"2015-01-05T16:27:42Z","git_url":"git://github.com/Wikidata/Wikidata-Toolkit.git","ssh_url":"git@github.com:Wikidata/Wikidata-Toolkit.git","clone_url":"https://github.com/Wikidata/Wikidata-Toolkit.git","svn_url":"https://github.com/Wikidata/Wikidata-Toolkit","homepage":"https://www.mediawiki.org/wiki/Wikidata_Toolkit","size":6472,"stargazers_count":47,"watchers_count":47,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":12,"mirror_url":null,"open_issues_count":16,"forks":12,"open_issues":16,"watchers":47,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/pulls/110"},"html":{"href":"https://github.com/Wikidata/Wikidata-Toolkit/pull/110"},"issue":{"href":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/issues/110"},"comments":{"href":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/issues/110/comments"},"review_comments":{"href":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/pulls/110/comments"},"review_comment":{"href":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/pulls/110/commits"},"statuses":{"href":"https://api.github.com/repos/Wikidata/Wikidata-Toolkit/statuses/dd7f4a3db6dd02fd7aa64ffaf03dd7bee2b26a6a"}}}}