Skip to content

[Bug]: Long ints are rounded in JSON responses #246

@kgruelgoto

Description

@kgruelgoto

What happened?

When getting a response using JSON as the view type all long ints are rounded.

Steps to reproduce?

1. Launch the app
2. Make a request that will include a long int
3. Observe the int is rounded 

JSON Response:
[    
  7163309881222825000,
  3727957268492611600,
  2436540179739531000
]

Raw Response:
[
  7163309881222824984,
  3727957268492611607,
  2436540179739530520
]

What did you expect to happen?

I expected the app to return accurate responses without modifications.

Platform

macOS

HTTPie Desktop version

2022.5.1

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions