What is best practice in converting XML to Java object?

后端 未结 10 896
没有蜡笔的小新
没有蜡笔的小新 2021-02-13 16:02

I need to convert XML data to Java objects. What would be best practice to convert this XML data to object?

Idea is to fetch data via a web service (it doesn\'t use WSDL

10条回答
  •  野性不改
    2021-02-13 16:26

    I've used XStream as well, it is easy to use and customizable. You can add your own custom converters and that was very handy for me...

提交回复
热议问题