{"id":14985566,"url":"https://github.com/loki-astari/thorsserializer","last_synced_at":"2025-10-27T16:10:11.479Z","repository":{"id":253473496,"uuid":"843608069","full_name":"Loki-Astari/ThorsSerializerOld","owner":"Loki-Astari","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-17T21:27:22.000Z","size":1901,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-30T03:22:46.925Z","etag":null,"topics":["bson","bson-format","bson-library","bson-parser","bson-serialization","bsoncxx","c-plus-plus","c-plus-plus-20","json","json-format","json-library","json-parser","json-serialization","jsoncxx","yaml","yaml-files","yaml-lib","yaml-parser","yamlcxx"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Loki-Astari.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2024-08-16T22:47:51.000Z","updated_at":"2024-09-19T17:35:20.000Z","dependencies_parsed_at":"2024-08-29T01:36:41.382Z","dependency_job_id":"86464b20-6f84-4df7-ade8-67a0403fff1a","html_url":"https://github.com/Loki-Astari/ThorsSerializerOld","commit_stats":{"total_commits":658,"total_committers":6,"mean_commits":"109.66666666666667","dds":"0.033434650455927084","last_synced_commit":"366d0717078a5418a43908b155d8cbf4781c2c17"},"previous_names":["loki-astari/thorsserializer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Loki-Astari%2FThorsSerializerOld","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Loki-Astari%2FThorsSerializerOld/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Loki-Astari%2FThorsSerializerOld/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Loki-Astari%2FThorsSerializerOld/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Loki-Astari","download_url":"https://codeload.github.com/Loki-Astari/ThorsSerializerOld/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248487710,"owners_count":21112188,"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","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":["bson","bson-format","bson-library","bson-parser","bson-serialization","bsoncxx","c-plus-plus","c-plus-plus-20","json","json-format","json-library","json-parser","json-serialization","jsoncxx","yaml","yaml-files","yaml-lib","yaml-parser","yamlcxx"],"created_at":"2024-09-24T14:11:13.267Z","updated_at":"2025-10-27T16:10:06.447Z","avatar_url":"https://github.com/Loki-Astari.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ThorsSerializer\n\n## Support for\n\n* [Json](https://www.json.org/json-en.html)\n* [Yaml](https://yaml.org/)\n* [Bson](http://bsonspec.org/)\n\nThis code is the basis for [ThorsMongo](https://github.com/Loki-Astari/ThorsMongo) a C++ API for streaming objects to a MongoDB with zero client overhead.  \n\n\n[![Code Review](http://www.zomis.net/codereview/shield/?qid=81920)](http://codereview.stackexchange.com/q/81920/507)\n[![Code Review](http://www.zomis.net/codereview/shield/?qid=79281)](http://codereview.stackexchange.com/q/79281/507)\n[![Code Review](http://www.zomis.net/codereview/shield/?qid=7567)](http://codereview.stackexchange.com/q/7567/507)\n[![Code Review](http://www.zomis.net/codereview/shield/?qid=7536)](http://codereview.stackexchange.com/q/7536/507)\n\n[![Brew package](https://img.shields.io/badge/Brew-package-blueviolet)](https://formulae.brew.sh/formula/thors-mongo)\n\n\n## Benchmark Results\nConformance [mac](https://LokiAstari.com/Json/Conformance.osx.html) [linux](https://LokiAstari.com/Json/Conformance.linux.html)  \nPerformance [mac](https://LokiAstari.com/Json/Performance.osx.html) [linux](https://LokiAstari.com/Json/Performance.linux.html)  \nFor details see: [JsonBenchmark](https://github.com/Loki-Astari/JsonBenchmark)  \n\n[## Documentation](doc/api.md)\n\n![ThorStream](img/stream.jpg)\n\nYet another JSON/YAML/BSON serialization library for C++.\n\nUnlike other libraries this one does not require you to build DOM of you object before serialization. Using a declarative C++ style you define what C++ classes (and members) you want to serialize \"ThorSerializer\" will generate the appropriate code automagically.\n\n* [Objective](doc/objective.md)\n* [Trivial Example](doc/example0.md)\n* [Simple Example](doc/example1.md)\n* [Bigger Example](doc/example2.md)\n* [Polymorphic Example](doc/example3.md)\n* [Installing](doc/building.md)\n* [Documentation Usage](doc/usage.md)\n\n## HomeBrew\n\nCan be installed via brew on Mac and Linux\n\n    brew install thors-mongo\n\n* Mac: https://formulae.brew.sh/formula/thors-mongo\n* Linux: https://formulae.brew.sh/formula-linux/thors-mongo\n\n## Header Only\n\nTo install header only version\n\n    git clone --single-branch --branch header-only https://github.com/Loki-Astari/ThorsMongo.git\n\nSome dependencies:\n\n    For All:    Magic Enum: https://github.com/Neargye/magic_enum\n    For Json:   None        :-)\n    For Yaml:   libYaml     https://github.com/yaml/libyaml\n\n## Building With Visual Studio\n\nTo build on windows you will need to add the flag: [`/Zc:preprocessor`](https://learn.microsoft.com/en-us/cpp/build/reference/zc-preprocessor?view=msvc-170). These libraries make heavy use of VAR_ARG macros to generate code for you so require conforming pre-processor. See [Macro Expansion of __VA_ARGS__ Bug in Visual Studio?](https://stackoverflow.com/questions/78605945/macro-expansion-of-va-args-bug-in-visual-studio) for details.\n\n\n## Contributors\n\nAdded the all-contributors bot to generate the table.\n\n\n-----\n\n[One Page](doc/full.md)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floki-astari%2Fthorsserializer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floki-astari%2Fthorsserializer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floki-astari%2Fthorsserializer/lists"}