News for hackers. Stuff that matters.
Re:Why does JSON.parse corrupt large numbers and how to solv... by metaloha on Tuesday January 17, 2023 @09:04PM (#34422540)
Just a note on the site itself - please don't wreck scrolling and gestures. Whatever library is messing with scroll speed and swiping needs to be removed. The site feels broken when it works this way :(
Re:Why does JSON.parse corrupt large numbers and how to solv... by irispanabaker on Monday January 23, 2023 @11:00PM (#34499037)
this (https://codebeautify.org/jsonviewer) json viewer / formatter supports big numbers.. to solve number issue, you need to use the lossless-json lib to avoid that issue. Here is the link: https://github.com/josdejong/lossless-json
Re:Why does JSON.parse corrupt large numbers and how to solv... by cratermoon on Tuesday January 17, 2023 @09:13PM (#34422607)
Re:Why does JSON.parse corrupt large numbers and how to solv... by irispanabaker on Monday January 23, 2023 @11:00PM (#34499041)
this (https://codebeautify.org/jsonviewer) json viewer / formatter supports big numbers.. to solve number issue, you need to use the lossless-json lib to avoid that issue. Here is the link: https://github.com/josdejong/lossless-json