Automatically add dependency for jackson-module-kotlin
See original GitHub issueAs pointed in the Kotlin documentation: https://quarkus.io/guides/kotlin#kotlin-and-jackson
The jackson-module-kotlin
has to be manually added when there is the need to register the Kotlin module on Jackson, basically, when using kotlin + jackson.
Description
When bootstrapping an application, when any Jackson specific extensions were added (as mentioned in the documentation above), with combination with quarkus-kotlin
, then jackson-module-kotlin
might also be automatically added as a dependency.
It may be simple for someone already in touch with Quarkus code to add this, I can try to do it myself otherwise, with some directions of any team member.
Issue Analytics
- State:
- Created 3 years ago
- Comments:17 (15 by maintainers)
Top Results From Across the Web
FasterXML/jackson-module-kotlin - GitHub
Module that adds support for serialization/deserialization of Kotlin classes and data classes. Previously a default constructor must have existed on the Kotlin ......
Read more >Automatically add dependency for jackson-module-kotlin
The jackson-module-kotlin has to be manually added when there is the need to register the Kotlin module on Jackson, basically, when using kotlin...
Read more >Reading and Writing JSON in Kotlin with Jackson - Stack Abuse
To utilize Jackson, we'll want to add its jackson-module-kotlin dependency to our project. If you're using Maven, you can simply add:
Read more >DanielThomas / jackson-module-kotlin Download - JitPack
Module that adds support for serialization/deserialization of Kotlin classes and data classes. Previously a default constructor must have existed on the ...
Read more >Aligning dependency versions - Gradle User Manual
By doing this, whenever Gradle will add a dependency to a module of the platform on the graph, it will also include constraints...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
this should not be limited to code.quarkus.io - this should behave consistently across our tool chain.
do we have examples on other similar implicitly needed dependencies (that users must add and we can’t add for them elsewhere) ?
wondering if we should add a metadata to extensions to act as hint what could be recommended to add.
Thanks for pinging me! Indeed the lack of automatcally controlling additional dependencies has been bothering me for a while, and I believe the time could be right. I’ll send a proposal to the list.