For BinaryFormatterjust add [Serializable]beforepublic class ....
For XmlSerializernothing; this should work fine if you want items
For DataContractSerializer(class 3.0, strictly speaking) add [DataContract]to the class and [DataMember]to the properties
protobuf-net DataContractSerializer, [DataMember] Order=, [ProtoContract] [ProtoMember(n)] , n.
JavaScriptSerializer ( 3.5) -
Json.NET -
ISerializable IXmlSerializable, , : .