When we upgraded RestEasy to 6.0.1 on Payara 5, we noticed that Payara now uses Yasson to serialize and deserialize objects, resulting in all @JsonIgnore, @JsonProperty to be ignored. We have added the jersey.config.jsonFeature context-param as specified in the docs:
<context-param>
<param-name>jersey.config.jsonFeature</param-name>
<param-value>JacksonFeature</param-value>
</context-param>
Falling back to RestEasy to 3, 4 or 5, Payara 5 again starts using Jackson and all @Json annotations are honored again.
How does RestEasy decide the provider (Yasson vs Jackson) and how can one force Jackson in RestEasy 6.0.1 on Payara?