-
-
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
SnakeCaseStrategy
causes unexpected MismatchedInputException
during deserialization
#3368
Comments
Looks like test relies on something like Lombok, so I cannot run test as-is. Would it be possible to get a version where Lombok has processed accessors (getters, setters) so I can verify behavior? Also this seems to be a manual test, not unit test, so it probably should check contents: but that's fine for now since there is exception. |
Not sure this can be called a manual test, but yes, this is just a demo, shortened and cleaned up for demonstration, not a real unit-test. Also, just in case, java-versions, tried:
|
Ok so the problem is due to conflict between I hope to see if there's a chance this could be resolved, but in the meantime I would suggest use of |
SnakeCaseStrategy
causes unexpected MismatchedInputException
during deserialization
Ok, cool. Turns out this was not difficult to fix, reworking the fix for #2979. Fix will be in 2.13.2 whenever that is released. |
The following test (TestStructureWithSnakeNames.java.txt) works fine in 2.12.0 :
But after switching to 2.12.1 (and later) I see the error :
Since the similar test with normal names (TestStructureWithNormalNames.java.txt) works well in 2.12.0, 2.12.1 and 2.13.1, I suspect this behavior could be a bug.
The text was updated successfully, but these errors were encountered: