[PR #4086] [MERGED] fix: precision lost when json is beautified #4656

Closed
opened 2026-03-17 02:10:29 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/4086
Author: @nivedin
Created: 5/23/2024
Status: Merged
Merged: 6/3/2024
Merged by: @nivedin

Base: patchHead: fix/precision-lost-beautify


📝 Commits (1)

  • d2f8e2d fix: precision lost when json is beautified

📊 Changes

1 file changed (+3 additions, -2 deletions)

View changed files

📝 packages/hoppscotch-common/src/components/http/RawBody.vue (+3 -2)

📄 Description

Closes #4083 #3919 HFE-516

Description

When JSON is beautified, the precision of long integer values ​​are lost this PR fixes this buy using lossless-json

Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/4086 **Author:** [@nivedin](https://github.com/nivedin) **Created:** 5/23/2024 **Status:** ✅ Merged **Merged:** 6/3/2024 **Merged by:** [@nivedin](https://github.com/nivedin) **Base:** `patch` ← **Head:** `fix/precision-lost-beautify` --- ### 📝 Commits (1) - [`d2f8e2d`](https://github.com/hoppscotch/hoppscotch/commit/d2f8e2d28b1698e7f68a2e52765841ab4ec2a9b0) fix: precision lost when json is beautified ### 📊 Changes **1 file changed** (+3 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/src/components/http/RawBody.vue` (+3 -2) </details> ### 📄 Description Closes #4083 #3919 HFE-516 ### Description When JSON is beautified, the precision of long integer values ​​are lost this PR fixes this buy using lossless-json ### Checks - [x] My pull request adheres to the code style of this project - [ ] My code requires changes to the documentation - [ ] I have updated the documentation as required - [x] All the tests have passed --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:10:29 +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#4656
No description provided.