DEV Community

Discussion on: What have you learned this week?

Collapse
 
svedova profile image
Savas Vedova

Oh and another thing I've learnt - and did that the hard way - was to never return an Int64 value in a JSON response. Javascript can handle numbers between -(253 - 1) and 253 - 1, so in the frontend they will be truncated. Cast to string instead.