Commit Graph

6 Commits (2fa6679f097c6c8147528166e9cf3f3f93924848)

Author SHA1 Message Date
Stephane Nicoll 75e5e78531 Polish json starter
This commit improves the json starter to bring the core starter (as any
other starters do). `spring-web` is now also added as it contains the
Spring's core jackson support.

Closes gh-10031
7 years ago
Brian Clozel 4c64f4f80d 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
7 years ago
Stephane Nicoll 67ac57bd72 Add jackson-module-parameter-names to json starter
Closes gh-9506
8 years ago
Andy Wilkinson 2090bef08e Configure Glassfish sample to use parent-last class loader delegation
Glassfish bundles an old and incomplete version of Glassfish. By
default, this leads to some of Jackson's classes being loaded from
inside the war file and others being loaded from Glassfish itself.
This mixture of versions does not end well and the application fails
to deploy.

This commit adds a Glassfish-specific deployment descriptor to
invert the web app class loader's delegation model. Rather than
preferring classes available from its parent, it will now prefer
those packaged inside the war file.

Closes gh-9391
8 years ago
Stephane Nicoll a6c01d3b30 Remove `jackson-datatype-jdk8` dependency for now
This dependency breaks Glassfish integration tests and was not strictly
required by #9297.
8 years ago
Stephane Nicoll a00ad72881 Add json starter
This commit adds a new json starter that gathers the core bits to read
and write json with dedicated Java 8 extensions.

The web-related starters have been improved to use the new starter
rather than relying on `jackson-databind` directly.

Closes gh-9297
8 years ago