4 comments

[ 0.26 ms ] story [ 13.6 ms ] thread
That's not JSON "lying", it's JavaScript not signalling a problem if it can't map a value.
Exactly; the problem is the with the way that js represents without preserving their original format/sematic.
What I wanted to say: I think the headline is wrong.

It's not "JSON lying", it's JavaScript not being able to properly map all data types to JSON.

A wire format is a contract, not a mirror of your runtime