deserialize type handled json using Newtonsoft library between different applications
问题 I have a data model in one application that I wish to exchange over TCPIP with another application. I need to use type handling because I want to have a single list of an abstract type containing derived types, as opposed to multiple lists for each derived type. As illustrated here: This : public Dictionary<int, Parameter> Parameters { get; set; } Instead of this: public Dictionary<int, BooleanParameter> BooleanParameters { get; set; } public Dictionary<int, AnalogParameter> AnalogParameters