[jboss-jira] [JBoss JIRA] (DROOLS-1384) Objects in a List is not correctly unmarshalled by JSONMarshaller
Toshiya Kobayashi (JIRA)
issues at jboss.org
Tue Dec 20 21:05:00 EST 2016
[ https://issues.jboss.org/browse/DROOLS-1384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Toshiya Kobayashi updated DROOLS-1384:
--------------------------------------
Git Pull Request: https://github.com/droolsjbpm/droolsjbpm-integration/pull/764
> Objects in a List is not correctly unmarshalled by JSONMarshaller
> -----------------------------------------------------------------
>
> Key: DROOLS-1384
> URL: https://issues.jboss.org/browse/DROOLS-1384
> Project: Drools
> Issue Type: Bug
> Components: kie server
> Affects Versions: 7.0.0.Beta4
> Reporter: Toshiya Kobayashi
> Assignee: Edson Tirelli
> Labels: support
>
> When JSONMarshaller marshalls and unmarshalls an object which has a List and the List contains custom class objects, the objects inside the List are instantiated but their properties are not populated.
> For example)
> Before marshall:
> {noformat}
> PojoA [name=A, pojoBList=[PojoB [name=B1, pojoCList=[PojoC [name=C1], PojoC [name=C2]]], PojoB [name=B2, pojoCList=[PojoC [name=C3]]]], stringList=[Hello, Bye]]
> {noformat}
> After marshall+unmarshall:
> {noformat}
> PojoA [name=A, pojoBList=[PojoB [name=null, pojoCList=null], PojoB [name=null, pojoCList=null]], stringList=[Hello, Bye]]
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list