Projects / XStream


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.


Recent releases

  •  28 Feb 2008 01:11

    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.

    •  17 Nov 2006 19:26

      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.

      •  30 Apr 2005 18:07

        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.

        •  08 Mar 2005 00:55

          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.

          •  07 Aug 2004 13:06

            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.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.