I am trying to use Jersey v2 with Jackson for a Java SE client application.
Following the instructions in the Jersey documentation, I created and registered a custom object mapper. I also registered JacksonFeature. As shown by the application output, my object mapper is being instanciated, but is never being used (no call to the getContext method). Also, my object mapper
has the SerializationFeature.INDENT_OUTPUT feature enabled, which I do not see in the request sent over the network. Further, the @JsonInclude(Include.NON_NULL) annotation is not being handled as I do see a null value being included in the request.
I'm sure there is something simple that I am missing, but I spent a good part of the weekend unsuccessfully trying to figure it out.
Can anyone suggest what I might be missing / doing wrong?