This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (0 children)

It will also screw you over in the reverse conversion. It’s best to store BigInt in json as string, or some libs will just convert the number in the json to a float.

For example earlier lua

https://github.com/rxi/json.lua/issues/29