You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in order to provide a better default configuration.
4577
+
4578
+
This builder customizes Jackson's default properties with the following ones:
4579
+
4580
+
. http://fasterxml.github.io/jackson-databind/javadoc/2.6/com/fasterxml/jackson/databind/DeserializationFeature.html#FAIL_ON_UNKNOWN_PROPERTIES[`DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES`] is disabled.
4581
+
. http://fasterxml.github.io/jackson-databind/javadoc/2.6/com/fasterxml/jackson/databind/MapperFeature.html#DEFAULT_VIEW_INCLUSION[`MapperFeature.DEFAULT_VIEW_INCLUSION`] is disabled.
4582
+
4583
+
It also automatically registers the following well-known modules if they are detected on the classpath:
4584
+
4585
+
. https://github.com/FasterXML/jackson-datatype-jdk7[jackson-datatype-jdk7]: support for Java 7 types like `java.nio.file.Path`.
4586
+
. https://github.com/FasterXML/jackson-datatype-joda[jackson-datatype-joda]: support for Joda-Time types.
4587
+
. https://github.com/FasterXML/jackson-datatype-jsr310[jackson-datatype-jsr310]: support for Java 8 Date & Time API types.
4588
+
. https://github.com/FasterXML/jackson-datatype-jdk8[jackson-datatype-jdk8]: support for other Java 8 types like `Optional`.
4589
+
====
4590
+
4569
4591
4570
4592
4571
4593
[[mvc-config-customize]]
@@ -5299,6 +5321,82 @@ And the same in XML, use the `<mvc:path-matching>` element:
5299
5321
5300
5322
5301
5323
5324
+
[[mvc-config-message-converters]]
5325
+
=== Message Converters
5326
+
5327
+
Customization of `HttpMessageConverter` can be achieved in Java config by overriding
dependency in addition to http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22jackson-dataformat-xml%22[`jackson-dataformat-xml`] one.
5367
+
====
5368
+
5369
+
Other interesting Jackson modules are available:
5370
+
5371
+
. https://github.com/zalando/jackson-datatype-money[jackson-datatype-money]: support for `javax.money` types (unofficial module)
5372
+
. https://github.com/FasterXML/jackson-datatype-hibernate[jackson-datatype-hibernate]: support for Hibernate specific types and properties (including lazy-loading aspects)
0 commit comments