Skip to content
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

Closed
BestITUserEUW opened this issue May 16, 2024 · 4 comments
Closed

Json int64_t Support ? #101

BestITUserEUW opened this issue May 16, 2024 · 4 comments

Comments

@BestITUserEUW
Copy link

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.

@liuzicheng1987
Copy link
Contributor

@BestITUserEUW , you seem to have found a solution to this.

If you have, feel free to open a PR.

@liuzicheng1987
Copy link
Contributor

@BestITUserEUW
Copy link
Author

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.

@liuzicheng1987
Copy link
Contributor

Yes, of course...I forgot that that was after v0.10.0. I'll do the formal release for v0.11.0 soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants