mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #4083] [bug]: When Json is beautified, the precision of long integer values is lost #1456
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#1456
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @xiangwenx on GitHub (May 23, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4083
Originally assigned to: @nivedin on GitHub.
Is there an existing issue for this?
Current behavior
When Json is beautified, the precision of long integer values is lost.
It seems to be caused by the accuracy problem of the front-end script.
However, using double quotes can avoid this problem, but it will be troublesome when the JSON content is large.
Steps to reproduce
Environment
Production
Version
Local
@liyasthomas commented on GitHub (May 23, 2024):
Can't we use lossless-json for beautify here? @nivedin can you pick this up?