Skip to content

gld-ion-swift

gld-ion-swift is an Amazon Ion serializer written in Swift. The runtime and the code generator are Swift. They do not wrap ion-c, ion-java, ion-swift, 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 Swift 6.3, decode a datagram, generate Swift 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