-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
error in number serialization #2560
Comments
Hi, have a look at |
I think this issue will continue to be reported until you make a new release. Most users do not have the latest version because their distro doesn't follow git head. Not even bleeding-edge Arch Linux has this fix. A way to get distros to update would be a version 1.7. |
Yeap hope we can do so also, see #2305 for current state of jq |
What does the JSON spec say about numbers?
I'd suggest that the internal representation be chosen by the user for backwards compatibility which was broken in |
This is fixed in jq 1.7. |
Describe the bug
If you have serialized a 64-bit unsinged integer to json and you pipe the json through jq, the number will be changed into something else.
To Reproduce
Produces
Expected behavior
18446744073709551615
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: