Serialize a polymorphic type of struct


Is there any nice way to serialize a polymorphic type of struct? I want to store and send to client an array of polymorphic struct which inherit the overall structure.

take a look at this, pretty amazing article Polymorphic Serialization In Unreal Engine -