-
Notifications
You must be signed in to change notification settings - Fork 63
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
Json int64_t Support ? #101
Comments
@BestITUserEUW , you seem to have found a solution to this. If you have, feel free to open a PR. |
A fix would basically involve minor edits in these two files: https://github.com/getml/reflect-cpp/blob/main/include/rfl/json/Reader.hpp https://github.com/getml/reflect-cpp/blob/main/include/rfl/json/Writer.hpp |
There is already a fix from #92 works now. I used v0.10.0 i'll just use main branch until it get's into a new release. |
Yes, of course...I forgot that that was after v0.10.0. I'll do the formal release for v0.11.0 soon. |
Hey,
I have a struct that i want to write and read which contains a timestamp in milliseconds of type int64_t. After parse i get:
"timestamp":-2125153807
Which is integer overflow.
Is it possible to support int64_t ?
P.S. I can't use rfl::Timestamp, timestamp has to be sent as number.
The text was updated successfully, but these errors were encountered: