Skip to content

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