Jettison is a collection of Java APIs (like STaX and DOM) which read and write JSON.
Allows the creation of JSON based web services in frameworks like cxf or XML serialization frameworks like xstream.
There are currently two conventions for mapping JSON to XML.
- BadgerFish which implements the full XML infoset in JSON using various techniques.
- Mapped convention which allows you to manually map [tag:XML namespaces] to JSON element prefixes.
Jettison was initially developed for usage in XFire and CXF to enable JSON based services, later it also found its place in Java object serialization with XStream