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

Jq doesn't work with long integers? #2182

Closed
alxchk opened this issue Sep 16, 2020 · 1 comment
Closed

Jq doesn't work with long integers? #2182

alxchk opened this issue Sep 16, 2020 · 1 comment

Comments

@alxchk
Copy link

alxchk commented Sep 16, 2020

> echo '[{"simhash": -883535730359709259}]' | jq .
[
  {
    "simhash": -883535730359709300
  }
]
@itchyny
Copy link
Contributor

itchyny commented Sep 16, 2020

This is a frequently asked question (#545 #1652 #1959 #2109 #2131) and is already fixed in the master HEAD (implemented by #1752 in Oct, 2019).

 % jq --version
jq-master-a17dd32
 % echo '[{"simhash": -883535730359709259}]' | jq .
[
  {
    "simhash": -883535730359709259
  }
]

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

No branches or pull requests

3 participants