-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
The default String deserializer does not enforce coercion configs #3240
Comments
Correct, currently One of the cases was reported earlier, I think: #3013 |
I believe this was fixed in 2.14. @cowtowncoder we can close it. |
I think there is some issue when coercing strings inside JSON arrays and objects, not sure if related with the fix or the default serializer:
Should I open a new ticket for this @cowtowncoder? |
@joca-bt Yes, if there is missing/misbehaving functionality please file a new issue referencing this one. We can then figure it out separately; I try not to open closed issues as that complicates release notes. |
The default String deserializer does not enforce coercion configs (or feature ALLOW_COERCION_OF_SCALARS).
When the source is a scalar value, coercion configs seem to be ignored
https://github.com/FasterXML/jackson-databind/blob/2.13/src/main/java/com/fasterxml/jackson/databind/deser/std/StringDeserializer.java.
The text was updated successfully, but these errors were encountered: