json icon indicating copy to clipboard operation
json copied to clipboard

json parse get wrong anwser

Open chongfeng87 opened this issue 3 years ago • 1 comments

windows npm install json example test.json { "id": 761363861809925136 } type test.json |json but get this { "id": 761363861809925100 } number is not right

image

chongfeng87 avatar Aug 18 '21 08:08 chongfeng87

I spoke to @chongfeng87, this value in the test loses trailing digits. This happens when he runs (latest) MinGW console on Windows 10

@trentm were we aware of json tool's compatibility in this scenario (Running json on the MinGW that runs on Windows 10) ?, looks like an overflow bug.

hzhang08 avatar Aug 19 '21 06:08 hzhang08