Class SmileFactory

java.lang.Object
org.codehaus.jackson.JsonFactory
org.codehaus.jackson.smile.SmileFactory
All Implemented Interfaces:
Versioned

public class SmileFactory extends JsonFactory
Factory used for constructing SmileParser and SmileGenerator instances; both of which handle Smile encoded data.

Extends JsonFactory mostly so that users can actually use it in place of regular non-Smile factory instances.

Note on using non-byte-based sources/targets (char based, like Reader and Writer): these can not be used for Smile-format documents, and thus will either downgrade to textual JSON (when parsing), or throw exception (when trying to create generator).

Since:
1.6
Author:
tatu