Is it possible to serialize and deserialize a class in C++?
I\'ve been using Java for 3 years now, and serialization / deserialization is fairly trivial in that lang
If you want simple and best performance and don't care about backward data compatibility, try HPS, it's lightweight, much faster than Boost, etc, and much easier to use than Protobuf, etc.
Example:
std::vector data({22, 333, -4444});
std::string serialized = hps::serialize_to_string(data);
auto parsed = hps::parse_from_string>(serialized);