{"action":"created","comment":{"url":"https://api.github.com/repos/resteasy/Resteasy/pulls/comments/195712502","pull_request_review_id":129134830,"id":195712502,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NTcxMjUwMg==","diff_hunk":"@@ -37,14 +43,52 @@\n @Priority(Priorities.USER-100)\n public class JsonBindingProvider extends AbstractJsonBindingProvider\n         implements MessageBodyReader<Object>, MessageBodyWriter<Object> {\n-\n+   private static final boolean JSONB_DISABLED = Boolean.getBoolean(\"resteasy.jsonb.disable\");\n    @Override\n    public boolean isReadable(Class<?> type, Type genericType,\n                              Annotation[] annotations, MediaType mediaType) {\n-      if (isGenericJaxb(type, genericType))\n+      if (JSONB_DISABLED)\n+      {\n+         return false;\n+      }\n+      ResteasyConfiguration context = ResteasyProviderFactory.getContextData(ResteasyConfiguration.class);\n+      if (context != null && Boolean.parseBoolean(context.getParameter(\"resteasy.jsonb.disable\")))\n+      {\n+         return false;\n+      }\n+      if (context != null && Boolean.parseBoolean(context.getParameter(\"resteasy.jsonp.enable\")))","path":"providers/json-binding/src/main/java/org/jboss/resteasy/plugins/providers/jsonb/JsonBindingProvider.java","position":41,"original_position":41,"commit_id":"4da1658e1502087301d8f51bff47d82c4a396832","original_commit_id":"4da1658e1502087301d8f51bff47d82c4a396832","user":{"login":"rsvoboda","id":925259,"node_id":"MDQ6VXNlcjkyNTI1OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/925259?v=4","gravatar_id":"","url":"https://api.github.com/users/rsvoboda","html_url":"https://github.com/rsvoboda","followers_url":"https://api.github.com/users/rsvoboda/followers","following_url":"https://api.github.com/users/rsvoboda/following{/other_user}","gists_url":"https://api.github.com/users/rsvoboda/gists{/gist_id}","starred_url":"https://api.github.com/users/rsvoboda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsvoboda/subscriptions","organizations_url":"https://api.github.com/users/rsvoboda/orgs","repos_url":"https://api.github.com/users/rsvoboda/repos","events_url":"https://api.github.com/users/rsvoboda/events{/privacy}","received_events_url":"https://api.github.com/users/rsvoboda/received_events","type":"User","site_admin":false},"body":"`resteasy.jsonp.enable` is mentioned in docs just in relation to Jackson2JsonpInterceptor\r\n\r\nShould be docs updated also for JsonBindingProvider section to mention it ?","created_at":"2018-06-15T12:10:15Z","updated_at":"2018-06-15T12:13:52Z","html_url":"https://github.com/resteasy/Resteasy/pull/1566#discussion_r195712502","pull_request_url":"https://api.github.com/repos/resteasy/Resteasy/pulls/1566","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/resteasy/Resteasy/pulls/comments/195712502"},"html":{"href":"https://github.com/resteasy/Resteasy/pull/1566#discussion_r195712502"},"pull_request":{"href":"https://api.github.com/repos/resteasy/Resteasy/pulls/1566"}},"in_reply_to_id":195711813},"pull_request":{"url":"https://api.github.com/repos/resteasy/Resteasy/pulls/1566","id":195057607,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1MDU3NjA3","html_url":"https://github.com/resteasy/Resteasy/pull/1566","diff_url":"https://github.com/resteasy/Resteasy/pull/1566.diff","patch_url":"https://github.com/resteasy/Resteasy/pull/1566.patch","issue_url":"https://api.github.com/repos/resteasy/Resteasy/issues/1566","number":1566,"state":"open","locked":false,"title":"[Resteasy 1911]:JSONB provider is used even if Jackson2 provider should be used","user":{"login":"jimma","id":91742,"node_id":"MDQ6VXNlcjkxNzQy","avatar_url":"https://avatars3.githubusercontent.com/u/91742?v=4","gravatar_id":"","url":"https://api.github.com/users/jimma","html_url":"https://github.com/jimma","followers_url":"https://api.github.com/users/jimma/followers","following_url":"https://api.github.com/users/jimma/following{/other_user}","gists_url":"https://api.github.com/users/jimma/gists{/gist_id}","starred_url":"https://api.github.com/users/jimma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimma/subscriptions","organizations_url":"https://api.github.com/users/jimma/orgs","repos_url":"https://api.github.com/users/jimma/repos","events_url":"https://api.github.com/users/jimma/events{/privacy}","received_events_url":"https://api.github.com/users/jimma/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-15T01:27:35Z","updated_at":"2018-06-15T12:13:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4cfc751c83cbcd3f54ac7dbef9698dda7a09ca07","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/resteasy/Resteasy/pulls/1566/commits","review_comments_url":"https://api.github.com/repos/resteasy/Resteasy/pulls/1566/comments","review_comment_url":"https://api.github.com/repos/resteasy/Resteasy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/resteasy/Resteasy/issues/1566/comments","statuses_url":"https://api.github.com/repos/resteasy/Resteasy/statuses/4da1658e1502087301d8f51bff47d82c4a396832","head":{"label":"jimma:RESTEASY-1911","ref":"RESTEASY-1911","sha":"4da1658e1502087301d8f51bff47d82c4a396832","user":{"login":"jimma","id":91742,"node_id":"MDQ6VXNlcjkxNzQy","avatar_url":"https://avatars3.githubusercontent.com/u/91742?v=4","gravatar_id":"","url":"https://api.github.com/users/jimma","html_url":"https://github.com/jimma","followers_url":"https://api.github.com/users/jimma/followers","following_url":"https://api.github.com/users/jimma/following{/other_user}","gists_url":"https://api.github.com/users/jimma/gists{/gist_id}","starred_url":"https://api.github.com/users/jimma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimma/subscriptions","organizations_url":"https://api.github.com/users/jimma/orgs","repos_url":"https://api.github.com/users/jimma/repos","events_url":"https://api.github.com/users/jimma/events{/privacy}","received_events_url":"https://api.github.com/users/jimma/received_events","type":"User","site_admin":false},"repo":{"id":58190107,"node_id":"MDEwOlJlcG9zaXRvcnk1ODE5MDEwNw==","name":"Resteasy","full_name":"jimma/Resteasy","owner":{"login":"jimma","id":91742,"node_id":"MDQ6VXNlcjkxNzQy","avatar_url":"https://avatars3.githubusercontent.com/u/91742?v=4","gravatar_id":"","url":"https://api.github.com/users/jimma","html_url":"https://github.com/jimma","followers_url":"https://api.github.com/users/jimma/followers","following_url":"https://api.github.com/users/jimma/following{/other_user}","gists_url":"https://api.github.com/users/jimma/gists{/gist_id}","starred_url":"https://api.github.com/users/jimma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimma/subscriptions","organizations_url":"https://api.github.com/users/jimma/orgs","repos_url":"https://api.github.com/users/jimma/repos","events_url":"https://api.github.com/users/jimma/events{/privacy}","received_events_url":"https://api.github.com/users/jimma/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jimma/Resteasy","description":"REST and JAXRS","fork":true,"url":"https://api.github.com/repos/jimma/Resteasy","forks_url":"https://api.github.com/repos/jimma/Resteasy/forks","keys_url":"https://api.github.com/repos/jimma/Resteasy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jimma/Resteasy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jimma/Resteasy/teams","hooks_url":"https://api.github.com/repos/jimma/Resteasy/hooks","issue_events_url":"https://api.github.com/repos/jimma/Resteasy/issues/events{/number}","events_url":"https://api.github.com/repos/jimma/Resteasy/events","assignees_url":"https://api.github.com/repos/jimma/Resteasy/assignees{/user}","branches_url":"https://api.github.com/repos/jimma/Resteasy/branches{/branch}","tags_url":"https://api.github.com/repos/jimma/Resteasy/tags","blobs_url":"https://api.github.com/repos/jimma/Resteasy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jimma/Resteasy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jimma/Resteasy/git/refs{/sha}","trees_url":"https://api.github.com/repos/jimma/Resteasy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jimma/Resteasy/statuses/{sha}","languages_url":"https://api.github.com/repos/jimma/Resteasy/languages","stargazers_url":"https://api.github.com/repos/jimma/Resteasy/stargazers","contributors_url":"https://api.github.com/repos/jimma/Resteasy/contributors","subscribers_url":"https://api.github.com/repos/jimma/Resteasy/subscribers","subscription_url":"https://api.github.com/repos/jimma/Resteasy/subscription","commits_url":"https://api.github.com/repos/jimma/Resteasy/commits{/sha}","git_commits_url":"https://api.github.com/repos/jimma/Resteasy/git/commits{/sha}","comments_url":"https://api.github.com/repos/jimma/Resteasy/comments{/number}","issue_comment_url":"https://api.github.com/repos/jimma/Resteasy/issues/comments{/number}","contents_url":"https://api.github.com/repos/jimma/Resteasy/contents/{+path}","compare_url":"https://api.github.com/repos/jimma/Resteasy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jimma/Resteasy/merges","archive_url":"https://api.github.com/repos/jimma/Resteasy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jimma/Resteasy/downloads","issues_url":"https://api.github.com/repos/jimma/Resteasy/issues{/number}","pulls_url":"https://api.github.com/repos/jimma/Resteasy/pulls{/number}","milestones_url":"https://api.github.com/repos/jimma/Resteasy/milestones{/number}","notifications_url":"https://api.github.com/repos/jimma/Resteasy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jimma/Resteasy/labels{/name}","releases_url":"https://api.github.com/repos/jimma/Resteasy/releases{/id}","deployments_url":"https://api.github.com/repos/jimma/Resteasy/deployments","created_at":"2016-05-06T07:44:35Z","updated_at":"2018-04-16T03:48:24Z","pushed_at":"2018-06-15T08:47:17Z","git_url":"git://github.com/jimma/Resteasy.git","ssh_url":"git@github.com:jimma/Resteasy.git","clone_url":"https://github.com/jimma/Resteasy.git","svn_url":"https://github.com/jimma/Resteasy","homepage":"http://jboss.org/resteasy","size":38364,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"resteasy:master","ref":"master","sha":"0a7b86c2900cbe8537712b854cef867249e2ecc8","user":{"login":"resteasy","id":1252373,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNTIzNzM=","avatar_url":"https://avatars1.githubusercontent.com/u/1252373?v=4","gravatar_id":"","url":"https://api.github.com/users/resteasy","html_url":"https://github.com/resteasy","followers_url":"https://api.github.com/users/resteasy/followers","following_url":"https://api.github.com/users/resteasy/following{/other_user}","gists_url":"https://api.github.com/users/resteasy/gists{/gist_id}","starred_url":"https://api.github.com/users/resteasy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resteasy/subscriptions","organizations_url":"https://api.github.com/users/resteasy/orgs","repos_url":"https://api.github.com/users/resteasy/repos","events_url":"https://api.github.com/users/resteasy/events{/privacy}","received_events_url":"https://api.github.com/users/resteasy/received_events","type":"Organization","site_admin":false},"repo":{"id":2948043,"node_id":"MDEwOlJlcG9zaXRvcnkyOTQ4MDQz","name":"Resteasy","full_name":"resteasy/Resteasy","owner":{"login":"resteasy","id":1252373,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNTIzNzM=","avatar_url":"https://avatars1.githubusercontent.com/u/1252373?v=4","gravatar_id":"","url":"https://api.github.com/users/resteasy","html_url":"https://github.com/resteasy","followers_url":"https://api.github.com/users/resteasy/followers","following_url":"https://api.github.com/users/resteasy/following{/other_user}","gists_url":"https://api.github.com/users/resteasy/gists{/gist_id}","starred_url":"https://api.github.com/users/resteasy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resteasy/subscriptions","organizations_url":"https://api.github.com/users/resteasy/orgs","repos_url":"https://api.github.com/users/resteasy/repos","events_url":"https://api.github.com/users/resteasy/events{/privacy}","received_events_url":"https://api.github.com/users/resteasy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/resteasy/Resteasy","description":"REST and JAXRS","fork":false,"url":"https://api.github.com/repos/resteasy/Resteasy","forks_url":"https://api.github.com/repos/resteasy/Resteasy/forks","keys_url":"https://api.github.com/repos/resteasy/Resteasy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/resteasy/Resteasy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/resteasy/Resteasy/teams","hooks_url":"https://api.github.com/repos/resteasy/Resteasy/hooks","issue_events_url":"https://api.github.com/repos/resteasy/Resteasy/issues/events{/number}","events_url":"https://api.github.com/repos/resteasy/Resteasy/events","assignees_url":"https://api.github.com/repos/resteasy/Resteasy/assignees{/user}","branches_url":"https://api.github.com/repos/resteasy/Resteasy/branches{/branch}","tags_url":"https://api.github.com/repos/resteasy/Resteasy/tags","blobs_url":"https://api.github.com/repos/resteasy/Resteasy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/resteasy/Resteasy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/resteasy/Resteasy/git/refs{/sha}","trees_url":"https://api.github.com/repos/resteasy/Resteasy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/resteasy/Resteasy/statuses/{sha}","languages_url":"https://api.github.com/repos/resteasy/Resteasy/languages","stargazers_url":"https://api.github.com/repos/resteasy/Resteasy/stargazers","contributors_url":"https://api.github.com/repos/resteasy/Resteasy/contributors","subscribers_url":"https://api.github.com/repos/resteasy/Resteasy/subscribers","subscription_url":"https://api.github.com/repos/resteasy/Resteasy/subscription","commits_url":"https://api.github.com/repos/resteasy/Resteasy/commits{/sha}","git_commits_url":"https://api.github.com/repos/resteasy/Resteasy/git/commits{/sha}","comments_url":"https://api.github.com/repos/resteasy/Resteasy/comments{/number}","issue_comment_url":"https://api.github.com/repos/resteasy/Resteasy/issues/comments{/number}","contents_url":"https://api.github.com/repos/resteasy/Resteasy/contents/{+path}","compare_url":"https://api.github.com/repos/resteasy/Resteasy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/resteasy/Resteasy/merges","archive_url":"https://api.github.com/repos/resteasy/Resteasy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/resteasy/Resteasy/downloads","issues_url":"https://api.github.com/repos/resteasy/Resteasy/issues{/number}","pulls_url":"https://api.github.com/repos/resteasy/Resteasy/pulls{/number}","milestones_url":"https://api.github.com/repos/resteasy/Resteasy/milestones{/number}","notifications_url":"https://api.github.com/repos/resteasy/Resteasy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/resteasy/Resteasy/labels{/name}","releases_url":"https://api.github.com/repos/resteasy/Resteasy/releases{/id}","deployments_url":"https://api.github.com/repos/resteasy/Resteasy/deployments","created_at":"2011-12-09T15:15:43Z","updated_at":"2018-06-15T10:21:07Z","pushed_at":"2018-06-15T11:04:59Z","git_url":"git://github.com/resteasy/Resteasy.git","ssh_url":"git@github.com:resteasy/Resteasy.git","clone_url":"https://github.com/resteasy/Resteasy.git","svn_url":"https://github.com/resteasy/Resteasy","homepage":"http://jboss.org/resteasy","size":40072,"stargazers_count":714,"watchers_count":714,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":732,"mirror_url":null,"archived":false,"open_issues_count":60,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":732,"open_issues":60,"watchers":714,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/resteasy/Resteasy/pulls/1566"},"html":{"href":"https://github.com/resteasy/Resteasy/pull/1566"},"issue":{"href":"https://api.github.com/repos/resteasy/Resteasy/issues/1566"},"comments":{"href":"https://api.github.com/repos/resteasy/Resteasy/issues/1566/comments"},"review_comments":{"href":"https://api.github.com/repos/resteasy/Resteasy/pulls/1566/comments"},"review_comment":{"href":"https://api.github.com/repos/resteasy/Resteasy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/resteasy/Resteasy/pulls/1566/commits"},"statuses":{"href":"https://api.github.com/repos/resteasy/Resteasy/statuses/4da1658e1502087301d8f51bff47d82c4a396832"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"rsvoboda"}}