Details
-
New Feature
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
-
None
Description
We have a problem with jackson serialization when trying to serialize for the content feed:
Adding:
objectMapper.addMixIn(HippoCompoundBean.class, DefaultJsonIgnoreTypeMixin.class);
in the object mapper does suppress for example .
Address getAddress()
from being serialized BUT something like
List<Address> getAddress()
still gets serialized even if 'Address' objects should be ignored!! Really unhandy. Therefor for now, suppress the serialization for List<HippoBean> altogether by adding JsonIgnore annotation to the runtime generated bean
Most likely this will be a temporal solution