Hi did you ensure jackson was set with application/json mediatype and not its default */* which means "least prioritized" since JAXRS 2.0?
Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://blog-rmannibucau.rhcloud.com> | Old Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory <https://javaeefactory-rmannibucau.rhcloud.com> 2017-03-30 11:54 GMT+02:00 COURTAULT Francois < francois.courta...@gemalto.com>: > Hello, > > We have a rest Api which uses POJO classes with Bean Validation > annotations (like @Pattern, @NotNull) and Jackson annotations like > @JsonProperty. > Previously, using TomEE 7.0.2, we have no issue using the @JsonProperty > Jackson annotation. Indeed, this kind of annotations was taken into account. > > But when we migrate to 7.0.3, it seems that the @JsonProperty Jackson > annotation is not anymore taking into account ☹ > Is there any way to fix that ? > > Best Regards. > ________________________________ > This message and any attachments are intended solely for the addressees > and may contain confidential information. Any unauthorized use or > disclosure, either whole or partial, is prohibited. > E-mails are susceptible to alteration. Our company shall not be liable for > the message if altered, changed or falsified. If you are not the intended > recipient of this message, please delete it and notify the sender. > Although all reasonable efforts have been made to keep this transmission > free from viruses, the sender will not be liable for damages caused by a > transmitted virus. >