logoalt Hacker News

sheeptyesterday at 10:46 AM1 replyview on HN

No you don't? The example I gave produces

    {"a":9007199254740993}
not

    {"a":"9007199254740993"}

Replies

mort96yesterday at 2:20 PM

Oh, that's much worse! The JSON string `{"a":9007199254740993}` decodes to the object `{"a":9007199254740992}` with typical JSON parsers like JavaScript's `JSON.parse`.

show 1 reply