Store and retrieve a class containing interfaces with JSON.NET
Suppose you have code like this: public interface IMyInterface { // blah } public class MyClass { public IEnumerable<IMyInterface> TheItems { get; set; } } </p> view raw json-interface-serialization-1.cs hosted with ❤ by GitHub </p> and you want to serialize in JSON an instance of MyClass. If you are using...
2015, Sep 20 — 4 minute read