XStream or Simple
Posted
by Adeel Ansari
on Stack Overflow
See other posts from Stack Overflow
or by Adeel Ansari
Published on 2009-10-13T03:39:13Z
Indexed on
2010/04/28
6:53 UTC
Read the original article
Hit count: 400
I need to decide on which one to use. My case is pretty simple. I need to convert a simple POJO/Bean to XML, and then back. Nothing special.
One thing I am looking for is it should include the parent properties as well. Best would be if it can work on super type, which can be just a marker interface.
If anyone can compare these two with cons and pros, and which thing is missing in which one. I know that XStream supports JSON too, thats a plus. But Simple looked simpler in a glance, if we set JSON aside. Whats the future of Simple in terms of development and community? XStream is quite popular I believe, even the word, "XStream", hit many threads on SO.
Thanks.
© Stack Overflow or respective owner