There are multiple serialization formats out there ... ... and great packages to use them. But they all have a different API and switching among them is not so simple ...
cereal is a header-only C++11 serialization library. cereal takes arbitrary data types and reversibly turns them into different representations, such as compact binary encodings, XML, or JSON. cereal ...