[PR #2167] [MERGED] refactor: preserve big ints and decimals on JSONLensRenderer #3659

Closed
opened 2026-03-17 01:15:13 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/2167
Author: @AndrewBastin
Created: 3/15/2022
Status: Merged
Merged: 3/15/2022
Merged by: @AndrewBastin

Base: mainHead: fix/2166


📝 Commits (2)

  • 8698ac9 chore: add lossless-json and type as dep
  • 9cfa1e7 refactor: update JSON lens renderer to format using lossless-json

📊 Changes

3 files changed (+89 additions, -84 deletions)

View changed files

📝 packages/hoppscotch-app/components/lenses/renderers/JSONLensRenderer.vue (+31 -23)
📝 packages/hoppscotch-app/package.json (+2 -0)
📝 pnpm-lock.yaml (+56 -61)

📄 Description

Closes #2166

Description

As the title and the linked issue states. Uses lossless-json to accomplish this.

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/2167 **Author:** [@AndrewBastin](https://github.com/AndrewBastin) **Created:** 3/15/2022 **Status:** ✅ Merged **Merged:** 3/15/2022 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `main` ← **Head:** `fix/2166` --- ### 📝 Commits (2) - [`8698ac9`](https://github.com/hoppscotch/hoppscotch/commit/8698ac929064a129a8f87c5c3fc1c5a09a423b78) chore: add lossless-json and type as dep - [`9cfa1e7`](https://github.com/hoppscotch/hoppscotch/commit/9cfa1e7b4177b63001c195ff3a8baf72a852610a) refactor: update JSON lens renderer to format using lossless-json ### 📊 Changes **3 files changed** (+89 additions, -84 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-app/components/lenses/renderers/JSONLensRenderer.vue` (+31 -23) 📝 `packages/hoppscotch-app/package.json` (+2 -0) 📝 `pnpm-lock.yaml` (+56 -61) </details> ### 📄 Description <!-- Thanks for creating this pull request 🤗 Please make sure that the pull request is limited to one type (docs, feature, etc.) and keep it as small as possible. You can open multiple prs instead of opening a huge one. --> <!-- If this pull request closes an issue, please mention the issue number below --> Closes #2166 ### Description <!-- Add a brief description of the pull request --> As the title and the linked issue states. Uses [lossless-json](https://github.com/josdejong/lossless-json) to accomplish this. <!-- You can also choose to add a list of changes and if they have been completed or not by using the markdown to-do list syntax - [ ] Not Completed - [x] Completed --> ### Checks <!-- Make sure your pull request passes the CI checks and do check the following fields as needed - --> - [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 01:15:13 +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#3659
No description provided.