I have an enum:
public enum Animal { Dog, Cat, BlackBear }
I need to send it to a third-party API. This API requires that
I think your ConConvert() implementation is not correct. It should be:
ConConvert()
public override bool CanConvert(Type objectType) { return objectType == typeof(Animals); }