Custom JSON converter for a class
I recently have to build a class which has a property of type object. This property can be one of three types based on another property in the same class. Serialising Transaction class is fine and would just work. However, deserialising it would be a problem. For the Account property, it would not know which … [Read more…]