[jboss-jira] [JBoss JIRA] (WFLY-12239) Wildfly 13 to wildfly 17 json serialization

Alfredo Marchini (Jira) issues at jboss.org
Tue Jun 25 06:40:00 EDT 2019


Alfredo Marchini created WFLY-12239:
---------------------------------------

             Summary: Wildfly 13 to wildfly 17 json serialization
                 Key: WFLY-12239
                 URL: https://issues.jboss.org/browse/WFLY-12239
             Project: WildFly
          Issue Type: Feature Request
          Components: Web Services
    Affects Versions: 17.0.0.Final
         Environment: I developear an EAR, with an EJB module and a Web module, that works perfectly on wildfly 13.
I am trying to migrate to version 17.0.0.Final
            Reporter: Alfredo Marchini
            Assignee: Jim Ma


I have problem in serialization of Pojo to JSON.
I have a Provider that impelments ContextResolver<ObjectMapper>.
That constructor is called regulary on deploy, but the method getContext is never called, so my custom serialization registration is never called.
What's changed at json serialization level between 13 and 17?
If I copy yasson-1.0.1 from wildfly 13 and swap it with yasson-1.0.3 (wildfly 17) everything works fine.
Thank you very much
Regards



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list