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

incorrect parsing #1675

Closed
Scott1 opened this issue Jun 13, 2018 · 2 comments
Closed

incorrect parsing #1675

Scott1 opened this issue Jun 13, 2018 · 2 comments
Labels

Comments

@Scott1
Copy link

Scott1 commented Jun 13, 2018

I'm seeing some cases where large numbers are coming out incorrect, here is an example:

JSON input: {"id":13714540419440739}
command line: jq '.id'
returns: 13714540419440740
expected: 13714540419440739

see:
https://jqplay.org/s/wKC1pFMuak

@pkoppstein
Copy link
Contributor

This is a well-known issue. See e.g. #1652 and the "Caveats" section of the jq FAQ

@Scott1
Copy link
Author

Scott1 commented Jun 14, 2018

Ah ok, thanks for the info @pkoppstein

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants