Skip to content

JSON float round #1782

@yaroslavyaroslav

Description

@yaroslavyaroslav

Description

Proxyman rounds float values on JSON to 2 numbers in a fraction part. It's kinda confusing, thus it's unexpected that values of a response/request would be modified instead of just being formatted.

Steps to Reproduce

{"destLocationGroupId":"UUID","sourceLocationGroupId":"UUID","amount":99999.00999999999,"serviceId":"UUID","orderDirection":"DirectionType"}
  1. Send the json above to any given server

Current Behavior

In body tab amount field would be shown as 99999.01

Expected Behavior

To show in body tab exact number as it's stored within raw data.

Environment

  • App version: e.g Proxyman 4.8.0 (48000)
  • macOS version: e.g macOS Sonoma 14.0

Metadata

Metadata

Assignees

Labels

bugSomething isn't working✅ DoneTicket is addressed and fixed.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions