Re:Data serialization
by josephg on Monday June 04, 2018 @09:20AM
(#17227452)
Huh good to know:
I've heard of JSON implementations in other languages making bigger JSON numbers than javascript supports; but I didn't realise JSON.parse would quietly parse them and throw away precision in the process. I wonder what the plan is for JSON serialization support of bigints. I assume there is no plan - Chrome stable 67 supports bigints, but JSON.serialize(2n) throws a TypeError.
[ Parent
| on HN ]
There are no comments on this comment yet.