Skip to content

.NET number values such as positive and negative infinity cannot be written as valid JSON. - #62690

Merged
layomia merged 15 commits into
dotnet:mainfrom
deeprobin:issue-48926
Jan 10, 2022
Merged

.NET number values such as positive and negative infinity cannot be written as valid JSON.#62690
layomia merged 15 commits into
dotnet:mainfrom
deeprobin:issue-48926

Conversation

@deeprobin

Copy link
Copy Markdown
Contributor

@ghostghost added community-contribution Indicates that the PR has been added by a community member area-System.Text.Json labels Dec 12, 2021
@ghost

Copy link
Copy Markdown

Tagging subscribers to this area: @dotnet/area-system-text-json
See info in area-owners.md if you want to be subscribed.

Issue Details

See issue #48926.

/cc @layomia
/cc @GrabYourPitchforks

Author:deeprobin
Assignees:-
Labels:

area-System.Text.Json, community-contribution

Milestone:-

@layomialayomia left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This PR should also update the exception message as suggested in #48926 (comment).

Comment threadsrc/libraries/System.Text.Json/Common/JsonNumberHandling.cs Outdated
Co-authored-by: Layomi Akinrinade <layomia@gmail.com>
Comment threadsrc/libraries/System.Text.Json/Common/JsonNumberHandling.cs Outdated
Comment threadsrc/libraries/System.Text.Json/src/Resources/Strings.resx
Comment threadsrc/libraries/System.Text.Json/src/Resources/Strings.resx Outdated
Co-authored-by: Layomi Akinrinade <layomia@gmail.com>
Comment threadsrc/libraries/System.Text.Json/Common/JsonNumberHandling.cs Outdated
deeprobinand others added 2 commits December 14, 2021 18:22
Co-authored-by: Krzysztof Wicher <mordotymoja@gmail.com>
@deeprobin
deeprobin requested a review from krwqDecember 14, 2021 17:25
Comment threadsrc/libraries/System.Text.Json/Common/JsonNumberHandling.cs Outdated
Comment threadsrc/libraries/System.Text.Json/Common/JsonNumberHandling.cs Outdated
Comment threadsrc/libraries/System.Text.Json/src/Resources/Strings.resx

@layomialayomia left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Couple more comments, then LGTM.

deeprobinand others added 2 commits December 20, 2021 23:11
Co-authored-by: Layomi Akinrinade <layomia@gmail.com>
Comment threadsrc/libraries/System.Text.Json/Common/JsonNumberHandling.cs
@deeprobin

Copy link
Copy Markdown
ContributorAuthor

Couple more comments, then LGTM.

dotnet/dotnet-api-docs#7488 was merged, so I think this could be merged as well

@layomialayomia left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @deeprobin!

@layomia
layomia merged commit 7242690 into dotnet:mainJan 10, 2022
@ghostghost locked as resolved and limited conversation to collaborators Feb 9, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.Text.Jsoncommunity-contributionIndicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@deeprobin@krwq@GrabYourPitchforks@layomia