-
-
Notifications
You must be signed in to change notification settings - Fork 149
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
Negative numbers not quoted correctly wrt ALWAYS_QUOTE_NUMBERS_AS_STRINGS
#182
Comments
I would need bit more information:
and given that should be easy to figure out. |
Ah. Thanks! |
ALWAYS_QUOTE_NUMBERS_AS_STRINGS
@dpbevin Thank you very much for reporting this, contributing fix! Backported in 2.10 so it'll be in 2.10.4 as well as 2.11.0. |
Sorry... I should have included this info in the report. I got carried away and went straight to the fix 😜 |
@dpbevin that's perfectly fine, I should have waited couple of minutes :) (just happened to go through my email when notification just arrived) |
When initializing a
YamlFactory
as follows, negative numbers are not quoted correctly.Serializing
60
currently results in"60"
.Serializing
-14
currently results in14
.The text was updated successfully, but these errors were encountered: