-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't convert integer value to Value struct. invalid type: integer -9223372036854776000
as i128
#8
Comments
-9223372036854776000
as i128-9223372036854776000
as i128
There are multiple issues here:
I feel that this should be fixed the right way. Meaning we should be able to de-serialize a 128 bit integer. This involves a little bit of work, as I don't want to implement number as 128bit integer, therefore doubling the cost of numbers. On the other side, if you don't need to de-serialize numbers that fit on more than 64 bits, we could do one of the two things:
Otherwise, I'll ask you to wait for when I find the time to refactor |
Alright, I believe the issue should be addressed properly, and I am prepared to wait for your solution. However, if you have the time to implement a quick fix in a new branch, and I can use it locally as a crate, it would be more beneficial. |
I did a quick and dirty fix as my local crate. |
Could you provide the |
This is a great idea. I'll take a jab at it when I find the time. |
code:
output:
The text was updated successfully, but these errors were encountered: