Dahomey.Json
Dahomey.Json copied to clipboard
Is there a proper way to extend JsonDiscriminatorAttribute?
Hello, we have the necessity to extend the JsonDiscriminatorAttribute class with additional properties that we would like to read in the TryRegisterType method of a custom IDiscriminatorConvention.
The aim is to pass some additional attribute values and take decisions in the TryRegisterType method.
Do you have some suggestions how this could be achieved?
Thank you, Patrick