3 ms·
The spec breakage is that you’d need the n suffix to indicate it’s a bigint.
by olliej 8y ago
The spec breakage is that you’d need the n suffix to indicate it’s a bigint.
- BillinghamJ 8y agoNo, you wouldn't. You'd just put the number in without the "n". In JSON, an integer is an integer - there's no limit to its size and no need to specify whether the integer is big or small. The "n" notation is just to ensure compatibility within JS - has nothing to do with representing the number in JSON.