Skip to content

JsonStringEnumConverter ignores 'allowIntegerValues' when deserializing quoted numeric values #58247

@DenisAloner

Description

@DenisAloner

.NET 5
JsonStringEnumConverter ignores JsonNumberHandling.Strict on deserialization.
Example: https://dotnetfiddle.net/IsP6Dn

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority:3Work that is nice to havearea-System.Text.Jsonbreaking-changeIssue or PR that represents a breaking API or functional change over a prerelease.bughelp wanted[up-for-grabs] Good issue for external contributorsneeds-breaking-change-doc-createdBreaking changes need an issue opened with https://github.com/dotnet/docs/issues/new?template=dotnet

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions