{"id":13730489,"url":"https://github.com/xdbr/cpp-generic-serialize","last_synced_at":"2026-01-06T01:53:02.619Z","repository":{"id":8916007,"uuid":"10642505","full_name":"xdbr/cpp-generic-serialize","owner":"xdbr","description":"C++11 Header-only generic binary-serialization for arbitrary types (and nested containers)","archived":false,"fork":false,"pushed_at":"2017-02-15T11:39:51.000Z","size":16,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-14T21:38:07.531Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xdbr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-06-12T12:38:10.000Z","updated_at":"2024-08-05T11:06:01.000Z","dependencies_parsed_at":"2022-08-27T20:52:26.808Z","dependency_job_id":null,"html_url":"https://github.com/xdbr/cpp-generic-serialize","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdbr%2Fcpp-generic-serialize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdbr%2Fcpp-generic-serialize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdbr%2Fcpp-generic-serialize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdbr%2Fcpp-generic-serialize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xdbr","download_url":"https://codeload.github.com/xdbr/cpp-generic-serialize/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252992848,"owners_count":21837181,"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":[],"created_at":"2024-08-03T02:01:15.566Z","updated_at":"2026-01-06T01:53:02.577Z","avatar_url":"https://github.com/xdbr.png","language":"C++","readme":"cpp-generic-serialize\n=====================\n\nC++11 Header-only generic binary-serialization for arbriray types (and nested containers)\n\nDescription\n----------- \n\nHeader-only library to ease binary serialization.\n\nExamples\n--------\n\nEssentially, these lines should sum up the purpose of this library:\n\n    // open ofstream as binary ...\n    // save arbitraty container or fundamental type to it:\n    list\u003cvector\u003cmap\u003c string, unsigned \u003e\u003e\u003e foobar;\n    save(ofstream_binary, foobar);\n    \n    // a little later... load the container back in:\n    \n    auto barbaz = load\u003c list\u003cvector\u003cmap\u003c string, unsigned \u003e\u003e\u003e \u003e( ifstream_binary );\n\nSee the test cases for more examples.\n\nUsage\n-----\n\n* `include` the header file\n* Compile your executable/library with `-std=c++11`\n    * (this is a C++11-only header, making heavy use of template meta-programming and C++11-type_traits)\n\nTests\n-----\n\nRun `rake clobber; rake`\n\nReferences\n----------\n\nA lot of inspiration (and a mediocre-sized bit of code) was taken from http://flamingdangerzone.com/. This is an absolutely worth reading, and very enlightening. Great work!\n\nLicense\n-------\n\nWTFPL\n","funding_links":[],"categories":["C++"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxdbr%2Fcpp-generic-serialize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxdbr%2Fcpp-generic-serialize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxdbr%2Fcpp-generic-serialize/lists"}