Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upAccept large integer values in JSON decoders #586
Conversation
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
|
I guess I failed at De Morgan's Law. Thanks for the fix! |
evancz
closed this
May 11, 2016
evancz
reopened this
May 11, 2016
evancz
merged commit 85f5e4d
into
elm:master
May 11, 2016
1 check was pending
continuous-integration/travis-ci/pr
The Travis CI build is in progress
Details
jvoigtlaender
referenced this pull request
May 23, 2016
Closed
json parse integer 64bit timestamp #622
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
spektroskop commentedMay 2, 2016
In 0.17, decoding integer values larger than 2147483647 from JSON fails:
UnexpectedPayload "Expecting an Int at _.foo.bar but instead got: 2934520482"This change seems to fix the issue. It's basically reverting to the logic used in 0.16 with the return values changed to match the API used in 0.17.