Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The example uses numbers outside the range of JS numbers (too many significant digits), so when the JSON is evaluated as a JS number some of the least significant bits are rounded. Personally, I think it is a mistake to use values in JSON that can’t be represented in JS, but the standard doesn’t explicitly forbid it.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: