Skip to: Site menu | Main content

Jettison

A JSON StAX Implementation

Home Print

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

Last changed Jan 18, 2010 07:53 by Dejan Bosanac

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!

Posted at Jan 18, 2010 by Dejan Bosanac | 0 comments
Last changed Apr 23, 2009 02:58 by Dejan Bosanac

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!

Posted at Apr 22, 2009 by Dejan Bosanac | 0 comments
Last changed Jun 09, 2008 08:43 by Dejan Bosanac

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.

Posted at Jun 09, 2008 by Dejan Bosanac | 0 comments
Last changed Apr 23, 2008 02:56 by Dejan Bosanac

We're proud to present Jettison 1.0 final. Download it from Download and refer to the User's Guide for more information.

Posted at Feb 21, 2008 by Dejan Bosanac | 0 comments