You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Does JsonSchemaExporter handle decimal pattern correctly? #130868
The pattern keyword was added as a rudimentary gating mechanism for string encoded numbers, but it did not account for exponential notation. Would you like to submit a PR extending the regex?
Activity
Youssef1313 commentedon Jul 16, 2026
FYI @eiriktsarpalis
dotnet-policy-service commentedon Jul 16, 2026
Tagging subscribers to this area: @dotnet/area-system-text-json
See info in area-owners.md if you want to be subscribed.
eiriktsarpalis commentedon Jul 16, 2026
The pattern keyword was added as a rudimentary gating mechanism for string encoded numbers, but it did not account for exponential notation. Would you like to submit a PR extending the regex?
Fix decimal exponent notation pattern in JsonSchemaExporter
Support exponential notation in JsonSchemaExporter decimal pattern (d…