Petar Tahchiev created DROOLS-4872:
--------------------------------------
Summary: "customSerializationMapper" in
JSONMarshaller.configureMarshaller() doesn't respect JSONMarshallerExtensions
Key: DROOLS-4872
URL:
https://issues.redhat.com/browse/DROOLS-4872
Project: Drools
Issue Type: Component Upgrade
Components: kie server
Affects Versions: 7.31.0.Final, 7.30.0.Final, 7.29.0.Final
Reporter: Petar Tahchiev
Assignee: Maciej Swiderski
Hello,
as discussed here:
https://groups.google.com/forum/#!topic/drools-setup/85k05vo0Ix8
I'm trying to configure the JSONMarshaller so I can serialize/deserialize objects of
type {{javax.money.MonetaryAmount}}, however even though I register my own
{{JSONMarshallerExtension}} seems like the conversion is handled by the
{{customSerializationMapper}} in {{JSONMarshaller.configureMarshaller()}} and this mapper
is not passed to the extension so there's no way I can configure it. This leads to the
attributes of type {{MonetaryAmount}} being serialized in a wrong way (not using any
modules registered through the {{JSONMarshallerExtension}}.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)