You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, if you have a custom formatter for a particular type (e.g. NodaTime's Instant, for example), you have to specify the formatter on every single property of that type — this is tedious and error-prone:
So as to eliminate the need for individual annotations on every single property of that type. This is highly useful in cases where there's a 1:1 correspondence between a formatter and a type (which is extremely common).
The text was updated successfully, but these errors were encountered:
Currently, if you have a custom formatter for a particular type (e.g. NodaTime's
Instant
, for example), you have to specify the formatter on every single property of that type — this is tedious and error-prone:Introduce a way to globally associate a type with a specific formatter — e.g. using an assembly attribute:
Additionally, add a way to annotate a type directly with a custom formatter (a la
[JsonConverterAttribute]
).So as to eliminate the need for individual annotations on every single property of that type. This is highly useful in cases where there's a 1:1 correspondence between a formatter and a type (which is extremely common).
The text was updated successfully, but these errors were encountered: