且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将XML转换为Java对象的***做法是什么?

更新时间:2023-02-17 16:05:58

看看 XStream 。它可能不是最快的,但它是Java中用户友好且最直接的转换器之一,特别是如果您的模型不复杂。

Have a look at XStream. It might not be the quickest, but it is one of the most user friendly and straightforward converters in Java, especially if your model is not complex.