You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So this isn't an issue per se, but I've found myself struggling with serialization of polymorphic types using RTTR and ideally the cereal lib. I'm happy that I have a first working version and I wanted to share it in case anyone trying to do the same has a good starting point. I plan to eventually make this into its own repo or maybe RTTR would like to use this in place of their current JSON example.
Anyhow, as a disclaimer I have to say that the code isn't very well tested and probably not a good idea to use in production, since its meant to be a starting point with some of the challenges already solved, I'm happy to use this issue thread for further improvements.
So this isn't an issue per se, but I've found myself struggling with serialization of polymorphic types using RTTR and ideally the cereal lib. I'm happy that I have a first working version and I wanted to share it in case anyone trying to do the same has a good starting point. I plan to eventually make this into its own repo or maybe RTTR would like to use this in place of their current JSON example.
Anyhow, as a disclaimer I have to say that the code isn't very well tested and probably not a good idea to use in production, since its meant to be a starting point with some of the challenges already solved, I'm happy to use this issue thread for further improvements.
serial.hpp
example.cpp
data.json
The text was updated successfully, but these errors were encountered: