-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Labels
area-System.Text.JsondocumentationDocumentation bug or enhancement, does not impact product or test codeDocumentation bug or enhancement, does not impact product or test codegood first issueIssue should be easy to implement, good for first-time contributorsIssue should be easy to implement, good for first-time contributorshelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributors
Milestone
Description
In .NET 5 double.NaN is written to json as "NaN". Why not to write double.PositiveInfinity and double.NegativeInfinity as "PINF" and "NINF"? And the same for float.
It's not good that Infinity values throw an exception (.NET number values such as positive and negative infinity cannot be written as valid JSON.).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-System.Text.JsondocumentationDocumentation bug or enhancement, does not impact product or test codeDocumentation bug or enhancement, does not impact product or test codegood first issueIssue should be easy to implement, good for first-time contributorsIssue should be easy to implement, good for first-time contributorshelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributors