Header-only C++11 library for serialization to/from JSON, XML, and binary
C++11 library for serialization
cereal$ #include <cereal/cereal.hpp>
#include <cereal/archives/json.hpp>$ std::ofstream os("data.json");
cereal::JSONOutputArchive archive(os);
archive(myObject);$ std::ifstream is("data.json");
cereal::JSONInputArchive archive(is);
archive(myObject);