Jackson Glossary: SmileFactory
Package: org.codehaus.jackson.smile
Jar: jackson-smile
Role
This is a specialized JsonFactory implementation used to produce JsonParser and JsonGenerator instances that read/write binary Smile data format (which is binary equivalent of JSON).
It was added in Jackson 1.6.
Usage
SmileFactory can be instantiated and used directly just like regular JsonFactory, but most commonly it is used via regular ObjectMapper configured with an instance, like so:
ObjectMapper mapper = new ObjectMapper(new SmileFactory());
Back to Jackson Term Glossary
