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

[bug]: Prettify Big Number Loss of accuracy #3919

Closed
1 task done
8Q757 opened this issue Mar 21, 2024 · 0 comments
Closed
1 task done

[bug]: Prettify Big Number Loss of accuracy #3919

8Q757 opened this issue Mar 21, 2024 · 0 comments
Labels
bug Something isn't working need testing Needs to be tested before merging onto production

Comments

@8Q757
Copy link

8Q757 commented Mar 21, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

When I use body with application/json,the body such as

{
  "id": 485091432142801408
}

and when I click Prettify button, the id 485091432142801408 changed to 485091432142801400

Steps to reproduce

  1. Add a Request
  2. Switch to Body And select application/json content type
  3. paste a json example include big number such as
{
  "id": 485091432142801408
}
  1. Click Prettify button
  2. The jsonbody will be loss of accuracy

Environment

Release

Version

Local

@8Q757 8Q757 added bug Something isn't working need testing Needs to be tested before merging onto production labels Mar 21, 2024
ialloyd added a commit to ialloyd/hoppscotch that referenced this issue Mar 22, 2024
@nivedin nivedin closed this as completed Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need testing Needs to be tested before merging onto production
Projects
None yet
Development

No branches or pull requests

2 participants