{"id":22096650,"url":"https://github.com/libmir/mir-ion","last_synced_at":"2025-07-24T22:32:12.862Z","repository":{"id":37441760,"uuid":"435179737","full_name":"libmir/mir-ion","owner":"libmir","description":"Ion, JSON, YAML, CSV, CBOR and Msgpack serialization framework","archived":false,"fork":false,"pushed_at":"2024-12-17T19:52:18.000Z","size":3230,"stargazers_count":14,"open_issues_count":11,"forks_count":7,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-01T18:08:48.120Z","etag":null,"topics":["amazon-ion","csv","dlang","ion","json","msgpack","serialization","yaml"],"latest_commit_sha":null,"homepage":"","language":"D","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/libmir.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-05T13:50:05.000Z","updated_at":"2024-12-17T19:49:26.000Z","dependencies_parsed_at":"2024-04-23T09:22:40.812Z","dependency_job_id":null,"html_url":"https://github.com/libmir/mir-ion","commit_stats":null,"previous_names":[],"tags_count":204,"template":false,"template_full_name":null,"purl":"pkg:github/libmir/mir-ion","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libmir%2Fmir-ion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libmir%2Fmir-ion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libmir%2Fmir-ion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libmir%2Fmir-ion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/libmir","download_url":"https://codeload.github.com/libmir/mir-ion/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libmir%2Fmir-ion/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266913680,"owners_count":24005579,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["amazon-ion","csv","dlang","ion","json","msgpack","serialization","yaml"],"created_at":"2024-12-01T04:12:02.114Z","updated_at":"2025-07-24T22:32:12.367Z","avatar_url":"https://github.com/libmir.png","language":"D","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Dub version](https://img.shields.io/dub/v/mir-ion.svg)](http://code.dlang.org/packages/mir-ion)\n[![Dub downloads](https://img.shields.io/dub/dt/mir-ion.svg)](http://code.dlang.org/packages/mir-ion)\n[![License](https://img.shields.io/dub/l/mir-ion.svg)](http://code.dlang.org/packages/mir-ion)\n[![codecov](https://codecov.io/gh/libmir/mir-ion/branch/master/graph/badge.svg?token=MF9yMpCZbO)](https://codecov.io/gh/libmir/mir-ion)\n![Build Status](https://img.shields.io/github/workflow/status/libmir/mir-ion/CI)\n[![CircleCI](https://circleci.com/gh/libmir/mir-ion/tree/master.svg?style=svg)](https://circleci.com/gh/libmir/mir-ion/tree/master)\n![Ion Test Status](https://img.shields.io/github/workflow/status/libmir/mir-ion/Integration%20Testing/master?label=Ion%20Test%20Data)\n\n# Mir Ion\n\nMir Ion serialization engine supports\n\n - Text and binary [Ion](http://amzn.github.io/ion-docs)\n - JSON\n - MsgPack\n - YAML\n - CSV\n - CBOR (encoding only)\n - [Bloomberg](https://github.com/libmir/mir-bloomberg)\n - [Custom formats](docs-src/custom-formats.md)\n\n## Documentation\nYou can find the documentation for this library [here](http://mir-ion.libmir.org/). \nAdditionally, for examples of the Ion format, you can check the [Ion Cookbook](https://amzn.github.io/ion-docs/guides/cookbook.html)\n\n## Benchmarks\n\n### [kostya JSON benchmarks](https://github.com/kostya/benchmarks#json)\n\n### ARM64\n\n####  Twitter data set\n\nTest data from [nativejson-benchmark](https://github.com/miloyip/nativejson-benchmark/blob/master/data/twitter.json)\n\n```\n-------------------------------------------------\nBinary Ion writing      0.601 GB/s\n     is equivalent of   1.598 GB/s for JSON\n\nJSON    -\u003e binary Ion   1.16 GB/s\n\nMsgPack -\u003e binary Ion   0.841 GB/s\n     is equivalent of   1.321 GB/s for JSON\n\n\nIon is 96% smaller then minimized JSON\n   and 69% smaller then MsgPack\n- - - - - - - - - - - - - - - - - - - - - - - - -\nprocessed file: benchmark/twitter.json\nnumber of iterations: 2000\nos: 64bit osx\n-------------------------------------------------\n```\n\n#### Kostya data set\n\nTest data from [kostya/benchmarks](https://github.com/kostya/benchmarks).\n\n```\n-------------------------------------------------\nBinary Ion writing      0.251 GB/s\n     is equivalent of   1.063 GB/s for JSON\n\nJSON    -\u003e binary Ion   0.6 GB/s\n\nMsgPack -\u003e binary Ion   0.309 GB/s\n     is equivalent of   1.098 GB/s for JSON\n\n\nIon is 134% smaller then minimized JSON\n   and 19% smaller then MsgPack\n- - - - - - - - - - - - - - - - - - - - - - - - -\nprocessed file: /tmp/1.json\nnumber of iterations: 10\nos: 64bit osx\n-------------------------------------------------\n```\n\n## Exceptions\nMir 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.\n\n## Feature Status\n\n - [x] Binary Ion Value parsing and skip-scan iteration.\n - [x] Binary Ion conversions to D types.\n - [x] Binary Ion conversions from D types.\n - [x] Fast hash table for Ion Symbol Tables\n - [x] Fast CTFE Symbol Table for deserialization\n - [x] Ion Symbol Tables\n - [x] JSON to Ion\n - [x] Ion to JSON\n - [x] Text Ion to Ion\n - [x] Ion to Text Ion\n - [x] Serialization API\n - [x] Deserialization API\n - [x] Precise decimal to floating conversion (except subnormals)\n - [x] Precise floating to decimal conversion.\n - [x] Local Symbol Tables\n - [ ] Shared Symbol Tables\n - [x] Chunked JSON reader\n - [x] Chunked binary Ion Value Stream reader\n - [x] MessagePack parsing\n - [x] Ion to MessagePack\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibmir%2Fmir-ion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibmir%2Fmir-ion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibmir%2Fmir-ion/lists"}