XStream is a Java library to serialize objects to XML (or JSON) and back again.
NOTE: Not to confuse with XStream stream processing platform at Meta.