XStream is a simple library to serialize objects to XML and back again. It is easy to use, does not require the definition of mappings, is fast, and integrates with other XML APIs. It features customizable conversion stategies.
Release Notes: Annotation support is now implemented as Mapper. Improved encoding support for JSON and XML. Dedicated converters can now be configured for individual fields also using the XStream facade. New converters for StringBuilder, UUID, Duration, and LookAndFeel. A new generic converter for types using a PropertyEditor. Support for enum values as attributes. XML elements are by default sorted to support for type hierarchies in XML schemata. Many bugfixes to improve JSON. An additional section in the FAQ. Native support for SAP VM.
Release Notes: A lot has changed since 1.1.2, especially for writing DOM structures or JSON. A lot of new converters have been added. There is more support for JDK 5-specific elements. JRockit and certain CGLIB proxies are supported. Many more abilities are available to tweak the processed XML.
Release Notes: New features include Java 5 Enum support, a JavaBeanConverter for serialization using getters and setters, aliasing of fields, StAX integration, with namespaces, and improved support on JDK 1.3 and IBM JDK.
Release Notes: Converters can be registered with a priority, allowing more generic filters to handle classes that don't have more specific converters. Converters can now access underlying HierarchicalStreamReader/Writer implementations to make implementation-specific calls. Support for classes using ObjectInputFields and ObjectInputValidation to follow the serialization specification has been improved. The default ClassLoader may be changed using XStream.setClassLoader(). Many bugfixes and performance enhancements.
Release Notes: This release adds many more converters for common Java types. Fields of type byte are now encoded using Base64. Support for using XStream in environments where classes are hot-redeployed has improved.