Skip to content

Conversation

TheJakov
Copy link
Contributor

@TheJakov TheJakov commented Apr 12, 2024

Newtonsoft.Json v13.0.1

Change - JsonReader and JsonSerializer MaxDepth defaults to 64

Summary

Updating feature comparison.

From Newtonsoft.Json v13.0.1 (latest is v13.0.3), JsonReader and JsonSerializer MaxDepth defaults to 64.

Preview

Newtonsoft.Json feature System.Text.Json equivalent
... ...
Default maximum depth 64, configurable ✔️ Default maximum depth 64, configurable
... ...

Internal previews

📄 File 🔗 Preview link
docs/standard/serialization/system-text-json/migrate-from-newtonsoft.md Migrate from Newtonsoft.Json to System.Text.Json

Newtonsoft.Json v13.01

Change - JsonReader and JsonSerializer MaxDepth defaults to 64

https://github.com/JamesNK/Newtonsoft.Json/releases/tag/13.0.1
@TheJakov TheJakov requested a review from gewarren as a code owner April 12, 2024 07:16
@dotnet-bot dotnet-bot added this to the April 2024 milestone Apr 12, 2024
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates PR is created by someone from the .NET community. label Apr 12, 2024
Copy link
Contributor

@gewarren gewarren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @TheJakov. Can you also update lines 53 and 152 for .NET 6/.NET 8?

@TheJakov TheJakov requested a review from gewarren April 13, 2024 11:14
@TheJakov
Copy link
Contributor Author

Thanks @TheJakov. Can you also update lines 53 and 152 for .NET 6/.NET 8?

Thanks for noticing @gewarren. 🙌

@gewarren gewarren enabled auto-merge (squash) April 15, 2024 15:26
@gewarren gewarren merged commit 20b3db6 into dotnet:main Apr 15, 2024
@TheJakov TheJakov deleted the patch-1 branch April 15, 2024 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Indicates PR is created by someone from the .NET community. dotnet-fundamentals/svc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants