Deserialize JSON into multiple inherited classes
问题 When I serialize my JSON object out of DocumentDB, my Control is not deserializing into the OptionsControl with the Options property. I have the following class, Control : public class Control : IControl { public Guid Id { get; set; } public virtual Enums.ControlType Type { get; set; } public string PropertyName { get; set; } public string ControlCssClass { get; set; } public string Description { get; set; } } I also have OptionsControl , which inherits from Control : public class