Skip to content

mojo-avro

mojo-avro is an Apache Avro serializer written in Mojo. The runtime and the code generator are Mojo. They do not wrap libavro or any other C, C++, or Rust Avro library.

  • Why Avro


    What the format is for, how schemas and zigzag-varints work, and why the encoder is not a small wrapper around a native library.

    Read Why Avro

  • Instructions


    Install Mojo 1.1.0 with pixi, write a .avsc or .avdl schema, generate Mojo, run the tests, and publish this site.

    Open Instructions

  • Examples


    Encode and decode generated types, GenericRecord, Object Container Files, and single-object frames.

    See Examples

  • Test data


    What lives under testdata/ (schemas, oracle bytes) and why each file is there.

    Read Test data