Skip to end of metadata
Go to start of metadata

Jettison is a collection of Java APIs (like STaX and DOM) which read and write JSON. This allows nearly transparent enablement of JSON based web services in services frameworks like CXF or XML serialization frameworks like XStream.

There are currently two included conventions for mapping JSON to XML. The first, is BadgerFish which implements the full XML infoset in JSON using various techniques. The second, is called the "mapped" convention. It allows you to manually map XML namespaces to JSON element prefixes.

Jettison was developed for usage in XFire and CXF to enable JSON based services. Later it also found its place in Java object serialization with XStream

To learn more, see the User's Guide.

News

Jettison 1.3.1 Released

Jettison version 1.3.1 has been released. The highlights of this release are:

  • Few improvements to MappedXMLStreamReader
  • Option to produce a human-readable JSON output
  • Better handling of the ignorable (mixed) text content

You can find the full change log for this release on the Download page. Enjoy!

Jettison 1.3 Released

Jettison version 1.3 has been released. The highlights of this release are:

  • MappedXMLStreamReader has been improved to handle top level arrays with multiple elements

You can find the full change log for this release on the Download page. Enjoy!

Jettison 1.2 released

Jettison version 1.2 has been released. The highlights of this release are:

  • Refactored MappedXMLStreamWriter - which solved many issues with serializing arrays
  • Plugable type converters and support for 64-bit long conversion

You can find the full change log for this release on the Download page. Enjoy!

Jettison 1.1 released

Jettison version 1.1 has been released. New features in this release are:

  • DOM API
  • Type converters
  • OSGi bundle packaging

You can find the full change log for this release on the Download page. Enjoy!

Jettison 1.0.1 released

We're proud to present Jettison 1.0.1. This is just a bugfix release, while new features (such as new APIs (DOM and SAX) and type converters) are planed for 1.1 release (which is expected soon). Download 1.0.1 from the Download section and refer to the User's Guide for more information.

Labels
  • None