Skip to content Skip to sidebar Skip to footer

Number Value Changes On JSON.parse( )

I'm using Node/Express to make API requests to the unofficial Vine API. The data that the GET https://api.vineapp.com/users/search/ route returns changes on parsing. My code is the

Solution 1:

The number is too high for the JSON parser

Info about the highest possible value in javascript:
What is JavaScript's highest integer value that a Number can go to without losing precision?

There is a solution provided here:
node.js is there any proper way to parse JSON with large numbers? (long, bigint, int64)


Post a Comment for "Number Value Changes On JSON.parse( )"