Zablabior
(Zablabior)
February 1, 2026, 4:21am
1
Summary
The JSON parser is not correctly parsing some values as integers (e.g., 2500000000 and 3500000000)
Please select what you are reporting on:
Verse
What Type of Bug are you experiencing?
Verse
Steps to Reproduce
Run
option:
Print("Parsed value: {JSON.Parse["2500000000"].AsInt[]}")
Print("Parsed value: {JSON.Parse["3500000000"].AsInt[]}")
Expected Result
Parsed value: 2500000000
Parsed value: 3500000000
Observed Result
Parsed value: -1794967296
Parsed value: -794967296
Platform(s)
PC
I can confirm this issue! Did many tests here, and looks like any integers that are Exactly 32 bits in length is incorrectly parsed by the JSON module:
Here are Specific Tests:
And Some Fuzzy (Random) Tests:
(My GetBitCount function returns 1 more due to considering sign, so subtracting one for this test)
1 Like
FORT-1049558 is now ‘In Progress’! Our team is actively working on it!
system
(system)
Closed
July 31, 2026, 4:22am
7
This topic was automatically closed after 180 days. New replies are no longer allowed.