-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Misleading "Applies to" Section for Json Serialization #9868
Comments
@mariesophie For .NET 6, the APIs are available through the following package: https://www.nuget.org/packages/System.Text.Json/8.0.3. |
Oh, thanks, that's good to know. I like your proposal, which clarifies whether the attribute (in this case) or whatever function is builtin or package-provided. |
@mariesophie Thanks for reminding me that there's still some work needed in the Applies to section. I've logged an internal work item for that. |
Since we have an internal work item, I think it's safe to close this issue. @mariesophie thanks for reporting the issue, please open a new one if you have additional questions. |
Tagging subscribers to this area: @dotnet/area-system-text-json |
I wanted to use the JsonDerivedType or JsonPolymorphic attribute in a .NET 6 project. So I looked it up at the docs (see links) and was happy, because they are listed as available since .NET 6.
I tried, but couldn't even get the code to compile. Finally, I found the Learn .NET section about json serialization again, where both of them seem to be available only in .NET 7 or later.
Is there a way to get the attributes working in .NET 6, is my understanding of the "applies to" section skewed or is it a mishap in the documentation?
The text was updated successfully, but these errors were encountered: