This is a common function of contract based serializers, including XmlSerializeretc. (i.e., those that do not include type metadata for each object).
There are several things that make this difficult:
- during deserialization, what type will be created for
A.B? - , ", ",
, -, "v2" (, , ); :
, , , - [ProtoInclude] .
, - . .