Projects / XStream

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.

Licenses BSD Revised

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  27 Feb 2008 17:11
  • Rrelease-after

Changes: 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.

  • Rrelease-mid
  •  17 Nov 2006 11:26
  • Rrelease-after

Changes: 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.

  • Rrelease-mid
  •  30 Apr 2005 11:07
  • Rrelease-after

Changes: 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.

  • Rrelease-mid
  •  07 Mar 2005 16:55
  • Rrelease-after

Changes: 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.

  • Rrelease-mid
  •  07 Aug 2004 06:06
  • Rrelease-after

Changes: 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.

1483be9231adf9e10096663b1c8af034_thumb

Project Spotlight

Bugzilla

A bugtracking system project hosted and used by mozilla.org.

02c6b153df4f93008cdc2bfab5f1ecb2_thumb

Project Spotlight

DOLPHIN SMASH

A mixed-signal, mixed-language multi-level simulator.