We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug json process error
To Reproduce echo '{"a":[10000000000000007],"b":{"10000000000000007":2}}' | jq
echo '{"a":[10000000000000007],"b":{"10000000000000007":2}}' | jq
Expected behavior
Environment (please complete the following information):
Additional context When the number is greater than 10000000000000000, the result is possible +1 or -1 or dont change
The text was updated successfully, but these errors were encountered:
I ran into the same issue - we use large numbers as IDs. The numbers appear to be off by a random amount:
$ echo '{"userId":288158953888548720}' | jq # off by 20 { "userId": 288158953888548740 } $ echo '{"userId":933278756423858111}' | jq # off by 111 { "userId": 933278756423858000 }
It seems like whatever data type jq stores numeric values in isn't large enough, perhaps?
jq
Sorry, something went wrong.
Seems that this is a duplicate of #1652.
No branches or pull requests
Describe the bug
json process error
To Reproduce
echo '{"a":[10000000000000007],"b":{"10000000000000007":2}}' | jq
Expected behavior
Environment (please complete the following information):
Additional context
When the number is greater than 10000000000000000, the result is possible +1 or -1 or dont change
The text was updated successfully, but these errors were encountered: