Commit 4c64f4f8 authored by Brian Clozel's avatar Brian Clozel

Add Jackson Kotlin module to JSON starter

This commit adds the `jackson-module-kotlin` dependency to the JSON
starter. As the other modules selected there, the goal is to provide
additional Jackson support to Spring Boot projects.

In this case, the Kotlin language is supported by many Spring projects
and this module is essential for (de)serialization with Jackson.
Note that the module has a transitive dependency on `kotlin-reflect`,
but this dependency should be brought by the application itself.

Spring Framework will configure the Kotlin Jackson module *only if* the
Kotlin sdk is present.

Closes gh-9803
parent 134e76d0
...@@ -34,5 +34,15 @@ ...@@ -34,5 +34,15 @@
<groupId>com.fasterxml.jackson.module</groupId> <groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-parameter-names</artifactId> <artifactId>jackson-module-parameter-names</artifactId>
</dependency> </dependency>
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-kotlin</artifactId>
<exclusions>
<exclusion>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-reflect</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies> </dependencies>
</project> </project>
provides: jackson-databind,jackson-datatype-jdk8,jackson-datatype-jsr310,jackson-module-parameter-names provides: jackson-databind,jackson-datatype-jdk8,jackson-datatype-jsr310,jackson-module-parameter-names,jackson-module-kotlin
\ No newline at end of file \ No newline at end of file
provides: spring-webmvc,spring-web,jackson-databind provides: spring-webmvc,spring-web
\ No newline at end of file \ No newline at end of file
provides: spring-webflux,jackson-databind provides: spring-webflux
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment