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

Long int overflows on format #1106

Closed
tonci14 opened this issue Sep 10, 2020 · 1 comment
Closed

Long int overflows on format #1106

tonci14 opened this issue Sep 10, 2020 · 1 comment

Comments

@tonci14
Copy link

tonci14 commented Sep 10, 2020

{"some_id": 2009000000000135983}

and when I click on "Format JSON data..."

{
  "some_id": 2009000000000136000
}
@josdejong
Copy link
Owner

Thanks for reporting Anton. The reason is that JSONEditor uses the built-in JavaScript JSON parser, which uses number, which cannot hold values with as much digits as in your example.

It's a long standing wish to get this fixed: #231

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

No branches or pull requests

2 participants