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.
-
Instructions
Install Mojo 1.1.0 with pixi, decode a datagram, generate Mojo from a schema, and run the tests.
-
Examples
Encode and decode a dynamic document and a generated struct.
-
Techniques
How the document arena, symbol tables, and Ion 1.1 macros are laid out.
-
Test data
The vendored ion-tests corpus and the local schema files.