-
-
Notifications
You must be signed in to change notification settings - Fork 177
Can't serialize Kotlin Value class that has map inside #873
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
Comments
Quick note on this:
The general rule is that minor versions should match to avoid any incompatibilities. Although in this particular case order of dependencies is such that this should work (kotlin can depend on later databind versions; but not vice versa). Still, I'd suggest trying this out with both Kotlin module and databind with latest published version, 2.18.2, to rule out possibility of issue being fixed since versions you use. |
@cowtowncoder I checked it with 2.18.2 and created https://github.com/kkocel/jackson-module-kotlin-873 with reproduction |
This problem will be fixed in |
Search before asking
Describe the bug
I tried to serialize Kotlin value class, and failed with:
To Reproduce
Expected behavior
Value class shoud be serialized
Versions
Kotlin: 2.10
Jackson-module-kotlin: 2.17.1
Jackson-databind: 2.18.1
Additional context
No response
The text was updated successfully, but these errors were encountered: