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

Render numbers read from JWTs as integers #339

Merged
merged 2 commits into from
Aug 4, 2022

Conversation

Calebjh
Copy link
Contributor

@Calebjh Calebjh commented Aug 2, 2022

Currently, if there is a long JWT field, e.g. "ID":"123456789", this function will parse and return it as 1.23456789E8, because all JWT numbers are treated as float64s. This could still be wonky if there are really big numbers in the JWT field, since they'll now render with lots of zeros, but this is probably better for the majority of cases.

Copy link

@markblanford markblanford left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Calebjh Calebjh merged commit e4dd86b into infobloxopen:master Aug 4, 2022
@Calebjh Calebjh deleted the float-format branch August 4, 2022 19:24
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

Successfully merging this pull request may close these issues.

3 participants