I would like to serialize 'Vector<Any> vec;', but Any does not have Serialize() available. How to proceed to accomplish this?
Best regards,
Tom
That is basically impossible for really generic case...
If the set of classes stored in Any is fixed, you can do that testing this fixed set of types, encoding the type when being stored and storing using types's Serialize, then on loading creating proper class based on encoded type and again Serialize it back.