Tell me more ×  I'm transferring raw data like [{id:
12000000000002539, Name: "Some Name"}] and I'm getting the
object [{id: 12000000000002540, Name: "Some Name"}] after
parsing, for now server side converting id into string seems to
help. But is there a better way to transfer bigint data
correctly?  share|improve this question You can't do something
like long long in C if that is what you are asking. String is
probably the better way to go. –  Chad Dec 29 '11 at 2:10 This
is essentially the same as this question from yesterday:
JavaScript can represent big numbers, but with only about 15 or
16 digits of precision. –  nnnnnn Dec 29 '11 at 2:27 It's not
JSON FCOL –  George Jempty Dec 29 '11 at 3:04 add comment  1
Answer  up vote 62 down vote accepted  The value is actually not
exceeding the maximum numeric value in JavaScript (which is
"only" 1.7308 or so).  However, the value is exceeding the range
of "integral precision". It is not that the wrong number is
sent: rather, it is that the literal 120000000000025