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 following: request({ url: 'https://api.vineapp.com/users/search/' + username }, function (error, response, body) { if (error) throw new Error(error); console.log(typeof body,'UNPARSED BODY:', body); body = JSON.parse(body); console.log(typeof body,'PARSED BODY:', JSON.stringify(body, null, 2)); cb(null, body) });