-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[JsonSerializer] Provide option to specify a custom default value for a type, property, or field #36236
Comments
|
Raising the flagFYI, I am considering returning to a tried-and-true third party to get this functionality. Custom |
Might need to be considered in conjunction with this proposal: #55781 (comment) |
I believe that most of that functionality can now be achieved using a combination of the |
#779 discusses options to ignore CLR default values during serialization (API approved).
Rather than using the CLR default, users may want to specify a custom default to be ignored. This issue is a placeholder for an API proposal to make this achievable.
The text was updated successfully, but these errors were encountered: