Probably there's no easy solution of this task [Same for c++ on Stack Overflow](https://stackoverflow.com/questions/3268801/how-do-you-de-serialize-a-derived-class-from-serialized-data)
[Comprehensive guide](https://isocpp.org/wiki/faq/serialization#serialize-inherit-no-ptrs)
