Skip to content
Jackson extension that adds support for Smile (see
Find file


This Jackson extension handles reading and writing of data encoded in Smile data format ("binary JSON"). It extends standard Jackson streaming API (JsonFactory, JsonParser, JsonGenerator), and as such works seamlessly with all the higher level data abstractions (data binding, tree model, and pluggable extensions).

Build Status Maven Central Javadoc


Module has been mature since Jackson 1.6.

Maven dependency

To use this module on Maven-based projects, use following dependency:


(or whatever version is most up-to-date at the moment)


Basic usage is by using SmileFactory in places where you would usually use JsonFactory:

SmileFactory f = new SmileFactory();
// can configure instance with 'SmileParser.Feature' and 'SmileGenerator.Feature'
ObjectMapper mapper = new ObjectMapper(f);
// and then read/write data as usual
SomeType value = ...;
byte[] smileData = mapper.writeValueAsBytes(value);
SomeType otherValue = mapper.readValue(smileData, SomeType.class);


Something went wrong with that request. Please try again.