[GH-ISSUE #1892] JSON number values become incorrect after scripting #1883

Open
opened 2026-03-03 19:55:10 +03:00 by kerem · 1 comment
Owner

Originally created by @codecor-cn on GitHub (Dec 20, 2023).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1892

Description

Version 4.15.0
when use proxyman script to change the response data and data is json format; then json number value will change, like 72057594038268329 72057594038268373 to 72057594038268368 72057594038268336 and so on;
plase check this problem

Steps to Reproduce

Current Behavior

Expected Behavior

Environment

  • App version: e.g Proxyman 3.9.0
  • macOS version: e.g macOS Monterey
Originally created by @codecor-cn on GitHub (Dec 20, 2023). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1892 ## Description <!--- Description for the bug? --> Version 4.15.0 when use proxyman script to change the response data and data is json format; then json number value will change, like 72057594038268329 72057594038268373 to 72057594038268368 72057594038268336 and so on; plase check this problem ## Steps to Reproduce <!-- Add relevant code and/or a live example --> 1. 2. 3. 4. ## Current Behavior <!--- What went wrong? --> ## Expected Behavior <!--- What should have happened? --> ## Environment - App version: e.g Proxyman 3.9.0 - macOS version: e.g macOS Monterey
Author
Owner

@NghiaTranUIT commented on GitHub (Dec 21, 2023):

@codecor-cn it's a known-issues from JavascriptCore. It can't handle the big number, so it causes the bug as you describe. I haven't found any feasible solution yet.

<!-- gh-comment-id:1866152762 --> @NghiaTranUIT commented on GitHub (Dec 21, 2023): @codecor-cn it's a known-issues from JavascriptCore. It can't handle the big number, so it causes the bug as you describe. I haven't found any feasible solution yet.
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/Proxyman#1883
No description provided.