[Feature] Support for bigint on the JSON parsing #1410
Labels
CLI
MQTTX CLI
desktop
MQTTX Desktop
enhancement
New feature or request
feature
This pr is a feature
web
MQTTX Web
Milestone
Motivation
Support for 64bit numbers. Because JS uses a 52bit mantissa for all numbers, ids are truncated.
Detailed design
I know there is a couple of library in JS that do this:
https://www.npmjs.com/package/json-bigint (https://www.npmjs.com/package/@types/json-bigint)
https://www.npmjs.com/package/json-bigint-patch
Alternatives
Currently using the plaintext view.
More detail (optional)
With parsing:
Without:
The text was updated successfully, but these errors were encountered: