JSON support for BigInt in Chrome/V8
Cyril Auburtin
cyril.auburtin at gmail.com
Tue Jul 17 15:44:13 UTC 2018
It would be great to have
```js
JSON.stringify({x: 5n, y: BigInt('6')}) === '{"x":5n,"y":6n}'
JSON.parse('{"x": 3n}') // {x: 3n}
```
I don't know how feasable it would be, maybe have a new JSON5 object if
JSON can't be changed for some reasons
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20180717/8268e786/attachment.html>
More information about the es-discuss
mailing list