How to add derived properties to a Jackson 2 serialized class?

前端 未结 2 1313
予麋鹿
予麋鹿 2021-01-23 09:20

I\'m serializing some existing objects with Jackson 2.22, leveragin the MixIn feature to decouple the real object from the Jackson annotations configuration.

Actually my

2条回答
  •  渐次进展
    2021-01-23 09:49

    Why don't you just make some fields, which should be serialized and use Gson for it?

提交回复
热议问题