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

System.Text.Json.Serialization.JsonExtensionDataAttribute allows object & JsonElement values #1367

Merged
merged 4 commits into from
May 10, 2021
Merged

Conversation

deceptiveSimplicity
Copy link
Contributor

According to https://docs.microsoft.com/en-us/dotnet/standard/serialization/system-text-json-migrate-from-newtonsoft-how-to?pivots=dotnet-5-0#deserialization-of-object-properties System.Text.Json deserializes to JsonElement even if the property is of type IDictionary<string, object>.

@RicoSuter
Copy link
Owner

RicoSuter commented May 10, 2021

Thanks for the PR.

@RicoSuter RicoSuter merged commit 6b66d50 into RicoSuter:master May 10, 2021
@RicoSuter
Copy link
Owner

Is a new release urgent?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants