With large payloads, we are seeing that when JSON is converted to POJO, it is taking lot of time. Internally it uses Jackson. Was wondering if there is a way that we can configure RESTEasy to use Afterburner module which seems to better the performace.
You can configure the ObjectMapper
to be used. One way that can be done is through a ContextResolver
, as see here. Then just register the module with the ObjectMapper
(as seen in the documentation).