{"action":"opened","issue":{"url":"https://api.github.com/repos/FasterXML/jackson-module-afterburner/issues/55","labels_url":"https://api.github.com/repos/FasterXML/jackson-module-afterburner/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/FasterXML/jackson-module-afterburner/issues/55/comments","events_url":"https://api.github.com/repos/FasterXML/jackson-module-afterburner/issues/55/events","html_url":"https://github.com/FasterXML/jackson-module-afterburner/issues/55","id":88768859,"number":55,"title":"Afterburner and NON_EMPTY on 0-valued primitive types","user":{"login":"nzroller","id":42975,"avatar_url":"https://avatars.githubusercontent.com/u/42975?v=3","gravatar_id":"","url":"https://api.github.com/users/nzroller","html_url":"https://github.com/nzroller","followers_url":"https://api.github.com/users/nzroller/followers","following_url":"https://api.github.com/users/nzroller/following{/other_user}","gists_url":"https://api.github.com/users/nzroller/gists{/gist_id}","starred_url":"https://api.github.com/users/nzroller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nzroller/subscriptions","organizations_url":"https://api.github.com/users/nzroller/orgs","repos_url":"https://api.github.com/users/nzroller/repos","events_url":"https://api.github.com/users/nzroller/events{/privacy}","received_events_url":"https://api.github.com/users/nzroller/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-16T16:03:30Z","updated_at":"2015-06-16T16:03:30Z","closed_at":null,"body":"Is it the expected behaviour, that int or long `0` fields are excluded from the serialized object if `NON_EMPTY` is used? It seems that without afterburner these values are serialized. \r\n\r\nI see that this was changed in 8a84900. Without the afterburner module the primitive 0 values are serialized but with it they're not. We're using Dropwizard which adds afterburner. We'll change our objects to use NON_NULL so this is not a problem, I'm just curious."}}