What is the accepted way to send 64-bit values over JSON?

后端 未结 6 737
死守一世寂寞
死守一世寂寞 2020-12-08 20:05

Some of my data are 64-bit integers. I would like to send these to a JavaScript program running on a page.

However, as far as I can tell, integers in most JavaScript

6条回答
  •  忘掉有多难
    2020-12-08 20:59

    JSON itself doesn't care about implementation limits. your problem is that JS can't handle your data, not the protocol. In other words, your JS client code has to use either of those non-perfect options.

提交回复
热议问题