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
If you had no version argument in your serialize functions, Cereal did not store any versioning info.
So now you files are incompatible: Cereals tries to read versioning where there is none.
You could modify Cereal to store a version tag by default anyway or add some try catch afterwards...
This would increase complexity and impact performance.
Cereal, by design, ignores versioning data management completely when you dont need it.
If you suspect that you may need it later, you should add it from the start: at least the version argument so it will use the default version 0 for all classes.
There is no version in the data that has been serialized and saved. How can I read it in a program that has been upgraded with CEREAL_CLASS_VERSION?
The text was updated successfully, but these errors were encountered: