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

Add extra writeNumber() method in TokenBuffer #4699

Merged
merged 4 commits into from
Sep 13, 2024

Conversation

pjfanning
Copy link
Member

I found that TokenBuffer.writeNumber(String) assumes the text is for a decimal number. This causes issues with integers as they later get .0 added to them, when serialized.

I found this with playframework/play-json#1074.

@cowtowncoder cowtowncoder changed the title add extra writeNumber method Add extra writeNumber() method in TokenBuffer Sep 13, 2024
@cowtowncoder cowtowncoder merged commit ef871bb into FasterXML:2.18 Sep 13, 2024
7 checks passed
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.

2 participants