mir-ion 1.0.3

Fast, Expressive, and Easy to use Ion/JSON Serialization Library with optional SIMD Optimization.

To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

Dub version Dub downloads License codecov Build Status CircleCI Ion Test Status

Mir Ion

This library seeks to implement the Ion file format. We aim to support both versions of Ion (text & binary), as well as providing an implementation of the format that is performant and easy-to-use.


You can find the documentation for this library here. Additionally, for examples of the Ion format, you can check the Ion Cookbook


Mir Ion internals are @nogc and almost all are preallocated. If DIP1008 is enabled, then the parsing exception will contains additional information about error location in the file and last occured key.


This package is considered experimental, under active/early development, and the API is subject to change.

As such, please look towards using asdf until further notice.

Feature Status

  • [x] Binary Ion Value parsing and skip-scan iteration.
  • [x] Binary Ion conversions to D types.
  • [x] Binary Ion conversions from D types.
  • [x] Fast hash table for Ion Symbol Tables
  • [x] Fast CTFE Symbol Table for deserialization
  • [x] Ion Symbol Tables
  • [x] JSON to Ion
  • [x] Ion to JSON
  • [x] Text Ion to Ion
  • [x] Ion to Text Ion
  • [x] Serialization API
  • [x] Deserialization API
  • [x] Precise decimal to floating conversion (except subnormals)
  • [x] Precise floating to decimal conversion.
  • [x] Local Symbol Tables
  • [ ] Shared Symbol Tables
  • [x] Chunked JSON reader
  • [x] Chunked binary Ion Value Stream reader
  • [ ] MessagePack parsing
  • [ ] Ion to MessagePack
  • Ilya Yaroshenko
  • Yannick Koechlin
mir-cpuid, mir-algorithm
2.3.1 2024-Apr-19
2.3.0 2024-Apr-19
2.2.1 2023-Sep-15
2.2.0 2023-Aug-02
2.1.9 2023-Jul-29
Show all 209 versions
Download Stats:
  • 24 downloads today

  • 160 downloads this week

  • 374 downloads this month

  • 254963 downloads total

Short URL: