9
如何在JSON.NET中实现自定义JsonConverter以反序列化基类对象列表?
我正在尝试扩展此处给出的JSON.net示例 http://james.newtonking.com/projects/json/help/CustomCreationConverter.html 我还有一个派生自基类/接口的子类 public class Person { public string FirstName { get; set; } public string LastName { get; set; } } public class Employee : Person { public string Department { get; set; } public string JobTitle { get; set; } } public class Artist : Person { public …