Skip to content

mojo-smile

mojo-smile is a Smile serializer written in Mojo. The runtime and the code generator are Mojo. They do not wrap Jackson, libsmile, or any other C, C++, or Rust Smile library.

  • Why Smile


    What a Smile value is, which number classes stay distinct, and how shared names differ from shared values.

    Read Why Smile

  • Instructions


    Install Mojo 1.1.0 with pixi, decode a buffer, generate Mojo from a schema, and run the tests.

    Open Instructions

  • Examples


    Encode and decode a dynamic document and a generated struct.

    See Examples

  • Techniques


    How the document arena, 7-bit payloads, and share windows are laid out.

    Read Techniques

  • Test data


    The Jackson byte vectors and the local schema files.

    Open Test data