Skip to content
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

JsonExtensionData + IgnoreNullValues fix #31787

Conversation

CodeBlanch
Copy link
Contributor

Fixed JsonExtensionData items with null values showing up in JSON when serializing and IgnoreNullValues=true.

Resolves #31786.

@ahsonkhan
Copy link
Member

This will be a breaking change and we wouldn't want to do this by default. The current behavior doesn't apply IgnoreNullValues to any collection elements.

@CodeBlanch CodeBlanch closed this Feb 7, 2020
@layomia layomia added this to the 5.0 milestone May 15, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

System.Text.Json: JsonExtensionData + IgnoreNullValues bug
5 participants