Skip to content

mojo-ion

mojo-ion is an Amazon Ion serializer written in Mojo. The runtime and the code generator are Mojo. They do not wrap ion-c, ion-java, or any other C, C++, or Rust Ion library.

  • Why Ion


    What an Ion value is, how text and binary differ, and which types keep more information than JSON.

    Read Why Ion

  • Instructions


    Install Mojo 1.1.0 with pixi, decode a datagram, 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, symbol tables, and Ion 1.1 macros are laid out.

    Read Techniques

  • Test data


    The vendored ion-tests corpus and the local schema files.

    Open Test data