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.
-
Instructions
Install Swift 6.3, decode a datagram, generate Swift 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.