Using the atrribute

Place the attribute over the interface definition and specify the class to be used
for deserialiszation.

/// <summary>
/// Specifies that the an object serialized as IUser should be
/// deserialized into an instance of User.
/// </summary>
[JsonConverter(typeof(InterfaceToConcreteConverter<IUser, User>))]
public interface IUser : IUser<string>
{

Last edited Dec 15, 2014 at 3:19 AM by porrey, version 1