hoppscotch / hoppscotch

Open source API development ecosystem - https://hoppscotch.io (open-source alternative to Postman, Insomnia)

Home Page:https://hoppscotch.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[bug]: When Json is beautified, the precision of long integer values ​​is lost

xiangwenx opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues

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

image

Environment

Production

Version

Local

Can't we use lossless-json for beautify here? @nivedin can you pick this up?