Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ulong.MaxValue parsing on .NET core #892

Closed
wants to merge 1 commit into from
Closed

Conversation

ah-
Copy link

@ah- ah- commented Apr 24, 2016

Hi, great that you're working on .NET core support!

I noticed the same issue as in #838, that ulong parsing is broken for values greater than what fits into a signed long.

I've added a test that demonstrates the problem and hacked together something that enables BigInteger parsing on netstandard11 and up.

How do you think would this be solved best? I fear this will trigger subtle bugs when porting from framework to core if not resolved.

@JamesNK
Copy link
Owner

JamesNK commented Apr 29, 2016

I want the lowest netstandard to be 1.0

I will probably support a higher version so that BigInteger works but I want to wait for a little bit to figure out exactly which one it should be.

@akatz0813
Copy link

@JamesNK Did this end up getting fixed? I think you indicated as such on another issue. Can you point to the commit that fixes it?

@JamesNK
Copy link
Owner

JamesNK commented Jun 26, 2016

Not yet. It will probably be fixed in 9.0.2

azabluda added a commit to azabluda/InfoCarrier.Core that referenced this pull request Aug 24, 2017
This fixes error "JSON integer 12345678901234567890 is too large or small for an Int64" in test Can_query_using_any_data_type run on .NET Core
JamesNK/Newtonsoft.Json#892
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants