开发者

JACKSON Mapping XML config Without Annotations

开发者 https://www.devze.com 2023-04-06 07:20 出处:网络
I have a library of objects, whose source code is not editable so cant annotate them, is there another way to config Jackso开发者_StackOverflown Mapper like via XML.What do you want to configure? Ofte

I have a library of objects, whose source code is not editable so cant annotate them, is there another way to config Jackso开发者_StackOverflown Mapper like via XML.


What do you want to configure? Often there isn't need to configure anything.

One way to use annotations without modifying value classes is to use "mix-in annotations" (see, for example this)

0

精彩评论

暂无评论...
验证码 换一张
取 消