{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/vert.x/issues/1233","labels_url":"https://api.github.com/repos/eclipse/vert.x/issues/1233/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/vert.x/issues/1233/comments","events_url":"https://api.github.com/repos/eclipse/vert.x/issues/1233/events","html_url":"https://github.com/eclipse/vert.x/pull/1233","id":121105092,"number":1233,"title":"Optionally specifying whether to fail on unknown properies","user":{"login":"mwhitlaw","id":291294,"avatar_url":"https://avatars.githubusercontent.com/u/291294?v=3","gravatar_id":"","url":"https://api.github.com/users/mwhitlaw","html_url":"https://github.com/mwhitlaw","followers_url":"https://api.github.com/users/mwhitlaw/followers","following_url":"https://api.github.com/users/mwhitlaw/following{/other_user}","gists_url":"https://api.github.com/users/mwhitlaw/gists{/gist_id}","starred_url":"https://api.github.com/users/mwhitlaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwhitlaw/subscriptions","organizations_url":"https://api.github.com/users/mwhitlaw/orgs","repos_url":"https://api.github.com/users/mwhitlaw/repos","events_url":"https://api.github.com/users/mwhitlaw/events{/privacy}","received_events_url":"https://api.github.com/users/mwhitlaw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eclipse/vert.x/labels/to%20review","name":"to review","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-08T21:40:05Z","updated_at":"2016-01-27T13:20:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/eclipse/vert.x/pulls/1233","html_url":"https://github.com/eclipse/vert.x/pull/1233","diff_url":"https://github.com/eclipse/vert.x/pull/1233.diff","patch_url":"https://github.com/eclipse/vert.x/pull/1233.patch"},"body":"Added overloaded version of Json.decode that supports specifying whether to fail on unknown properties in the source json string, defaulting to true.\r\n\r\nSigned-off-by: Mike Whitlaw <mike.whitlaw@gmail.com>"},"comment":{"url":"https://api.github.com/repos/eclipse/vert.x/issues/comments/175621747","html_url":"https://github.com/eclipse/vert.x/pull/1233#issuecomment-175621747","issue_url":"https://api.github.com/repos/eclipse/vert.x/issues/1233","id":175621747,"user":{"login":"mwhitlaw","id":291294,"avatar_url":"https://avatars.githubusercontent.com/u/291294?v=3","gravatar_id":"","url":"https://api.github.com/users/mwhitlaw","html_url":"https://github.com/mwhitlaw","followers_url":"https://api.github.com/users/mwhitlaw/followers","following_url":"https://api.github.com/users/mwhitlaw/following{/other_user}","gists_url":"https://api.github.com/users/mwhitlaw/gists{/gist_id}","starred_url":"https://api.github.com/users/mwhitlaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwhitlaw/subscriptions","organizations_url":"https://api.github.com/users/mwhitlaw/orgs","repos_url":"https://api.github.com/users/mwhitlaw/repos","events_url":"https://api.github.com/users/mwhitlaw/events{/privacy}","received_events_url":"https://api.github.com/users/mwhitlaw/received_events","type":"User","site_admin":false},"created_at":"2016-01-27T13:20:05Z","updated_at":"2016-01-27T13:20:05Z","body":"Okay. Thanks. Although, no new mappers are being instantiated. Only the class instance of ObjectMapper \"mapper\" is being used. As far as other object (Readers) instantiation goes, the original/current (pre pull request) implementation of Json.decode uses:\r\nmapper.readValue(str, clazz) \r\nwhich is still the default implementation in this pull request. The added optional behavior uses:\r\nmapper.readerFor(clazz).without(...).readValue(str)\r\nI don't believe this second call results in any more object instantiations than the first. i.e. The mapper.readValue method call is just a convenient way of calling mapper.readFor(clazz).readValue(str)\r\n"}}