 XStream

XStream is a Java library to serialize objects to XML (or JSON) and back again.XStream uses reflection to discover the structure of the object graph to serialize at run time, and doesn't require modifications to objects.