How to write a custom POCO serializer/deserializer?
问题 I would like to write a custom .NET serializer/deserializer for FIX messages (which aren't like XML). Basically the message is coded as <tag>=<value>;<tag>=<value>;... So a sample one might be: 51=2;20=hello;31=2 I would like to use my FIX Serializer class similar to the way I use the XMLSerializer class to be able to serialize/deserialize messages. I would imagine I would write a FIX message class like: [Serializable] public class FixMessage { [FIXValuePair(51)] public double Price { get;