Project Smile: Jackson Binary Format

Project Smile was part of Jackson 1.6 development, and added full native support for Smile (binary JSON) data format.

Support was added as a new jackson-smile jar which contains org.codehaus.jackson.smile) package, and adds components such as:

Usage is similar to normal Jackson operation, with replacement of SmileFactory where JsonFactory would be normally used:

   1   ObjectMapper mapper = new ObjectMapper(new SmileFactory());
   2   // now 'mapper' will read and write Smile-encoded data instead of JSON!


CategoryJackson

JacksonBinaryFormat (last edited 2011-02-05 20:18:43 by TatuSaloranta)

Copyright ©2009 FasterXML, LLC