Skip to content

Newtonsoft.Json has already supported MaxDepth #25647

Closed

Description

@AngryBerryMS

Hi,

We noticed that there is an update needed here:

https://docs.microsoft.com/en-us/dotnet/standard/serialization/system-text-json-migrate-from-newtonsoft-how-to?pivots=dotnet-5-0#maximum-depth

image

Actually, Newtonsoft.Json has already limited the MaxDepth as 64 by default.

JamesNK/Newtonsoft.Json#2473

Hope you can update the article ASAP. And I think just suggesting users of Newtonsoft.Json to use the lastest version to avoid DoS is enough.

@herohua @live1206 @mingwli


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions