{"id":17284370,"url":"https://github.com/tsung-wei-huang/cpp-ciri","last_synced_at":"2025-04-14T10:41:22.763Z","repository":{"id":80946077,"uuid":"184336877","full_name":"tsung-wei-huang/cpp-ciri","owner":"tsung-wei-huang","description":"A Fast Modern C++ Header-only Serialization Library","archived":false,"fork":false,"pushed_at":"2020-12-14T18:13:08.000Z","size":71,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-27T23:51:08.533Z","etag":null,"topics":["deserialization","deserialization-library","deserializer","serialization","serialization-library","serializer"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tsung-wei-huang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-04-30T21:56:20.000Z","updated_at":"2023-05-16T22:41:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"9abf242b-3742-4256-b5c1-8c3d4184c7b6","html_url":"https://github.com/tsung-wei-huang/cpp-ciri","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsung-wei-huang%2Fcpp-ciri","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsung-wei-huang%2Fcpp-ciri/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsung-wei-huang%2Fcpp-ciri/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsung-wei-huang%2Fcpp-ciri/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsung-wei-huang","download_url":"https://codeload.github.com/tsung-wei-huang/cpp-ciri/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248866826,"owners_count":21174607,"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":["deserialization","deserialization-library","deserializer","serialization","serialization-library","serializer"],"created_at":"2024-10-15T09:53:55.617Z","updated_at":"2025-04-14T10:41:22.738Z","avatar_url":"https://github.com/tsung-wei-huang.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cpp-Ciri \n\n[![Standard](image/cpp17.svg)](https://en.wikipedia.org/wiki/C%2B%2B#Standardization)\n\nA fast modern C++ *header-only* serialization library\n\n# Simple, Compact, and Extensible Serialization\n\n```cpp\n#include \"ciri.hpp\"                       // ciri is header-only\n\nint main() {\n  \n  int from{100}, to{0};                   // data to serialize and deserialize\n\n  std::ostringstream os;                  // create an output device with a write method\n  ciri::Ciri ciri(os);                    // create a serializer \"ciri\"\n\n  auto obytes = os(from);                 // serialize an integer\n  \n  std::istringstream is(os.str());        // create an input device with a read method\n  ciri::Iric iric(is);                    // create a deserializer \"iric\"\n\n  auto ibytes = is(to);                   // deserialize an integer\n   \n  assert(from == to \u0026\u0026 obytes == ibytes);\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsung-wei-huang%2Fcpp-ciri","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsung-wei-huang%2Fcpp-ciri","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsung-wei-huang%2Fcpp-ciri/lists"}