{"action":"created","comment":{"url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/pulls/comments/41378080","id":41378080,"diff_hunk":"@@ -22,6 +23,10 @@ protected SphereRequestBase() {\n         return SphereJsonUtils.readObject(Optional.ofNullable(httpResponse.getResponseBody()).orElseThrow(() -> new JsonException(httpResponse)), typeReference);\n     }\n \n+    public static <T> T deserialize(final HttpResponse httpResponse, final JavaType javaType) {","path":"sphere-common/src/main/java/io/sphere/sdk/client/SphereRequestBase.java","position":12,"original_position":12,"commit_id":"91ee8f0c712414634960e74328338936a62a6910","original_commit_id":"91ee8f0c712414634960e74328338936a62a6910","user":{"login":"schleichardt","id":1320833,"avatar_url":"https://avatars.githubusercontent.com/u/1320833?v=3","gravatar_id":"","url":"https://api.github.com/users/schleichardt","html_url":"https://github.com/schleichardt","followers_url":"https://api.github.com/users/schleichardt/followers","following_url":"https://api.github.com/users/schleichardt/following{/other_user}","gists_url":"https://api.github.com/users/schleichardt/gists{/gist_id}","starred_url":"https://api.github.com/users/schleichardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schleichardt/subscriptions","organizations_url":"https://api.github.com/users/schleichardt/orgs","repos_url":"https://api.github.com/users/schleichardt/repos","events_url":"https://api.github.com/users/schleichardt/events{/privacy}","received_events_url":"https://api.github.com/users/schleichardt/received_events","type":"User","site_admin":false},"body":"should be protected","created_at":"2015-10-07T11:16:23Z","updated_at":"2015-10-07T11:16:23Z","html_url":"https://github.com/sphereio/sphere-jvm-sdk/pull/747#discussion_r41378080","pull_request_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/pulls/747","_links":{"self":{"href":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/pulls/comments/41378080"},"html":{"href":"https://github.com/sphereio/sphere-jvm-sdk/pull/747#discussion_r41378080"},"pull_request":{"href":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/pulls/747"}}},"pull_request":{"url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/pulls/747","id":46762254,"html_url":"https://github.com/sphereio/sphere-jvm-sdk/pull/747","diff_url":"https://github.com/sphereio/sphere-jvm-sdk/pull/747.diff","patch_url":"https://github.com/sphereio/sphere-jvm-sdk/pull/747.patch","issue_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/issues/747","number":747,"state":"open","locked":false,"title":"custom object simplification, closes #721","user":{"login":"schleichardt","id":1320833,"avatar_url":"https://avatars.githubusercontent.com/u/1320833?v=3","gravatar_id":"","url":"https://api.github.com/users/schleichardt","html_url":"https://github.com/schleichardt","followers_url":"https://api.github.com/users/schleichardt/followers","following_url":"https://api.github.com/users/schleichardt/following{/other_user}","gists_url":"https://api.github.com/users/schleichardt/gists{/gist_id}","starred_url":"https://api.github.com/users/schleichardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schleichardt/subscriptions","organizations_url":"https://api.github.com/users/schleichardt/orgs","repos_url":"https://api.github.com/users/schleichardt/repos","events_url":"https://api.github.com/users/schleichardt/events{/privacy}","received_events_url":"https://api.github.com/users/schleichardt/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-05T10:00:52Z","updated_at":"2015-10-07T11:16:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"lauraluiz","id":1917621,"avatar_url":"https://avatars.githubusercontent.com/u/1917621?v=3","gravatar_id":"","url":"https://api.github.com/users/lauraluiz","html_url":"https://github.com/lauraluiz","followers_url":"https://api.github.com/users/lauraluiz/followers","following_url":"https://api.github.com/users/lauraluiz/following{/other_user}","gists_url":"https://api.github.com/users/lauraluiz/gists{/gist_id}","starred_url":"https://api.github.com/users/lauraluiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lauraluiz/subscriptions","organizations_url":"https://api.github.com/users/lauraluiz/orgs","repos_url":"https://api.github.com/users/lauraluiz/repos","events_url":"https://api.github.com/users/lauraluiz/events{/privacy}","received_events_url":"https://api.github.com/users/lauraluiz/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/milestones/22","html_url":"https://github.com/sphereio/sphere-jvm-sdk/milestones/1.0.0-M19","labels_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/milestones/22/labels","id":1332978,"number":22,"title":"1.0.0-M19","description":"","creator":{"login":"schleichardt","id":1320833,"avatar_url":"https://avatars.githubusercontent.com/u/1320833?v=3","gravatar_id":"","url":"https://api.github.com/users/schleichardt","html_url":"https://github.com/schleichardt","followers_url":"https://api.github.com/users/schleichardt/followers","following_url":"https://api.github.com/users/schleichardt/following{/other_user}","gists_url":"https://api.github.com/users/schleichardt/gists{/gist_id}","starred_url":"https://api.github.com/users/schleichardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schleichardt/subscriptions","organizations_url":"https://api.github.com/users/schleichardt/orgs","repos_url":"https://api.github.com/users/schleichardt/repos","events_url":"https://api.github.com/users/schleichardt/events{/privacy}","received_events_url":"https://api.github.com/users/schleichardt/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":13,"state":"open","created_at":"2015-10-01T11:40:22Z","updated_at":"2015-10-07T08:29:56Z","due_on":"2015-10-15T22:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/pulls/747/commits","review_comments_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/pulls/747/comments","review_comment_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/issues/747/comments","statuses_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/statuses/91ee8f0c712414634960e74328338936a62a6910","head":{"label":"sphereio:api/721/custom-object-simplification","ref":"api/721/custom-object-simplification","sha":"91ee8f0c712414634960e74328338936a62a6910","user":{"login":"sphereio","id":4119130,"avatar_url":"https://avatars.githubusercontent.com/u/4119130?v=3","gravatar_id":"","url":"https://api.github.com/users/sphereio","html_url":"https://github.com/sphereio","followers_url":"https://api.github.com/users/sphereio/followers","following_url":"https://api.github.com/users/sphereio/following{/other_user}","gists_url":"https://api.github.com/users/sphereio/gists{/gist_id}","starred_url":"https://api.github.com/users/sphereio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sphereio/subscriptions","organizations_url":"https://api.github.com/users/sphereio/orgs","repos_url":"https://api.github.com/users/sphereio/repos","events_url":"https://api.github.com/users/sphereio/events{/privacy}","received_events_url":"https://api.github.com/users/sphereio/received_events","type":"Organization","site_admin":false},"repo":{"id":20855247,"name":"sphere-jvm-sdk","full_name":"sphereio/sphere-jvm-sdk","owner":{"login":"sphereio","id":4119130,"avatar_url":"https://avatars.githubusercontent.com/u/4119130?v=3","gravatar_id":"","url":"https://api.github.com/users/sphereio","html_url":"https://github.com/sphereio","followers_url":"https://api.github.com/users/sphereio/followers","following_url":"https://api.github.com/users/sphereio/following{/other_user}","gists_url":"https://api.github.com/users/sphereio/gists{/gist_id}","starred_url":"https://api.github.com/users/sphereio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sphereio/subscriptions","organizations_url":"https://api.github.com/users/sphereio/orgs","repos_url":"https://api.github.com/users/sphereio/repos","events_url":"https://api.github.com/users/sphereio/events{/privacy}","received_events_url":"https://api.github.com/users/sphereio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sphereio/sphere-jvm-sdk","description":"The next generation SPHERE.IO client running on the Java virtual machine","fork":false,"url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk","forks_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/forks","keys_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/teams","hooks_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/hooks","issue_events_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/events","assignees_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/tags","blobs_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/languages","stargazers_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/stargazers","contributors_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/contributors","subscribers_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/subscribers","subscription_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/subscription","commits_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/merges","archive_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/downloads","issues_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/labels{/name}","releases_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/releases{/id}","created_at":"2014-06-15T12:46:24Z","updated_at":"2015-09-17T13:51:28Z","pushed_at":"2015-10-07T08:59:10Z","git_url":"git://github.com/sphereio/sphere-jvm-sdk.git","ssh_url":"git@github.com:sphereio/sphere-jvm-sdk.git","clone_url":"https://github.com/sphereio/sphere-jvm-sdk.git","svn_url":"https://github.com/sphereio/sphere-jvm-sdk","homepage":"","size":42859,"stargazers_count":16,"watchers_count":16,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":8,"mirror_url":null,"open_issues_count":156,"forks":8,"open_issues":156,"watchers":16,"default_branch":"master"}},"base":{"label":"sphereio:master","ref":"master","sha":"fe760ade9dac9b306365e13c70532f9d26dbda87","user":{"login":"sphereio","id":4119130,"avatar_url":"https://avatars.githubusercontent.com/u/4119130?v=3","gravatar_id":"","url":"https://api.github.com/users/sphereio","html_url":"https://github.com/sphereio","followers_url":"https://api.github.com/users/sphereio/followers","following_url":"https://api.github.com/users/sphereio/following{/other_user}","gists_url":"https://api.github.com/users/sphereio/gists{/gist_id}","starred_url":"https://api.github.com/users/sphereio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sphereio/subscriptions","organizations_url":"https://api.github.com/users/sphereio/orgs","repos_url":"https://api.github.com/users/sphereio/repos","events_url":"https://api.github.com/users/sphereio/events{/privacy}","received_events_url":"https://api.github.com/users/sphereio/received_events","type":"Organization","site_admin":false},"repo":{"id":20855247,"name":"sphere-jvm-sdk","full_name":"sphereio/sphere-jvm-sdk","owner":{"login":"sphereio","id":4119130,"avatar_url":"https://avatars.githubusercontent.com/u/4119130?v=3","gravatar_id":"","url":"https://api.github.com/users/sphereio","html_url":"https://github.com/sphereio","followers_url":"https://api.github.com/users/sphereio/followers","following_url":"https://api.github.com/users/sphereio/following{/other_user}","gists_url":"https://api.github.com/users/sphereio/gists{/gist_id}","starred_url":"https://api.github.com/users/sphereio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sphereio/subscriptions","organizations_url":"https://api.github.com/users/sphereio/orgs","repos_url":"https://api.github.com/users/sphereio/repos","events_url":"https://api.github.com/users/sphereio/events{/privacy}","received_events_url":"https://api.github.com/users/sphereio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sphereio/sphere-jvm-sdk","description":"The next generation SPHERE.IO client running on the Java virtual machine","fork":false,"url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk","forks_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/forks","keys_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/teams","hooks_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/hooks","issue_events_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/events","assignees_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/tags","blobs_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/languages","stargazers_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/stargazers","contributors_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/contributors","subscribers_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/subscribers","subscription_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/subscription","commits_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/merges","archive_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/downloads","issues_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/labels{/name}","releases_url":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/releases{/id}","created_at":"2014-06-15T12:46:24Z","updated_at":"2015-09-17T13:51:28Z","pushed_at":"2015-10-07T08:59:10Z","git_url":"git://github.com/sphereio/sphere-jvm-sdk.git","ssh_url":"git@github.com:sphereio/sphere-jvm-sdk.git","clone_url":"https://github.com/sphereio/sphere-jvm-sdk.git","svn_url":"https://github.com/sphereio/sphere-jvm-sdk","homepage":"","size":42859,"stargazers_count":16,"watchers_count":16,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":8,"mirror_url":null,"open_issues_count":156,"forks":8,"open_issues":156,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/pulls/747"},"html":{"href":"https://github.com/sphereio/sphere-jvm-sdk/pull/747"},"issue":{"href":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/issues/747"},"comments":{"href":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/issues/747/comments"},"review_comments":{"href":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/pulls/747/comments"},"review_comment":{"href":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/pulls/747/commits"},"statuses":{"href":"https://api.github.com/repos/sphereio/sphere-jvm-sdk/statuses/91ee8f0c712414634960e74328338936a62a6910"}}}}