Introduction
Smile is a binary equivalent of JSON,
specified in 2010 by the team of the
Jackson JSON processor. Apache Solr
and Elasticsearch are among its users. The specification names a media type,
application/x-jackson-smile; the file extension given for it is
.sml.
Structure
0Signature3A 29 0A, a smiley and a line feed3 bytes3Version and flags version in the high 4 bits; flags for raw binary, shared values and shared property names1 byte4Content encoded valuesvariable
Not described
This page is a first outline. The details of the layout are not yet described here.
Known, not yet covered
- Reference: the value tokens and shared string references, which the Smile specification gives.
- Viewer: the site has no viewer for this format.
Links
Developers
- Jackson – data-processing library with Smile support (Java)
Reference
- Smile format specification – FasterXML repository
- Smile (data interchange format) – Wikipedia, with the file extension