[GH-ISSUE #3569] [bug]: Precision loss when formatting JSON containing large numbers #1223

Closed
opened 2026-03-16 19:23:02 +03:00 by kerem · 0 comments
Owner

Originally created by @ZhReimu on GitHub (Nov 20, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3569

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

when input a large number, the formatting button may be cause some error behavir, formatting JSON should preserve precision

Steps to reproduce

input a large number, then click formatting button
before
image
after
image
before
image
after
image
before
image
after
image

Environment

Production

Version

Cloud

Originally created by @ZhReimu on GitHub (Nov 20, 2023). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3569 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior when input a large number, the formatting button may be cause some error behavir, formatting JSON should preserve precision ### Steps to reproduce input a large number, then click formatting button before ![image](https://github.com/hoppscotch/hoppscotch/assets/58155247/c44bb267-df3c-4639-a7c0-b45b8d55152f) after ![image](https://github.com/hoppscotch/hoppscotch/assets/58155247/dc8cd80e-71c9-4f49-a992-5185e4871f24) before ![image](https://github.com/hoppscotch/hoppscotch/assets/58155247/d59a0c04-b80b-4466-9d9c-e85769af2625) after ![image](https://github.com/hoppscotch/hoppscotch/assets/58155247/dea7c7f9-b8a3-4d53-b511-980927b6e854) before ![image](https://github.com/hoppscotch/hoppscotch/assets/58155247/1fa9777f-2a1c-434e-bf40-3e66d10a63a3) after ![image](https://github.com/hoppscotch/hoppscotch/assets/58155247/a1f7fb41-8064-4a64-856e-47c9dbe3c14b) ### Environment Production ### Version Cloud
kerem 2026-03-16 19:23:02 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#1223
No description provided.