diff --git a/documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages/spring-mvc.adoc b/documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages/spring-mvc.adoc index 20bd4bdb3bb..48b4f0451d7 100644 --- a/documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages/spring-mvc.adoc +++ b/documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages/spring-mvc.adoc @@ -77,7 +77,6 @@ These features are described in several enums (in Jackson) that map onto propert | javadoc:com.fasterxml.jackson.annotation.JsonInclude$Include[] | configprop:spring.jackson.default-property-inclusion[] | `always`, `non_null`, `non_absent`, `non_default`, `non_empty` -|=== | javadoc:tools.jackson.databind.DeserializationFeature[] | `spring.jackson.deserialization.` @@ -98,6 +97,7 @@ These features are described in several enums (in Jackson) that map onto propert | javadoc:tools.jackson.databind.SerializationFeature[] | `spring.jackson.serialization.` | `true`, `false` +|=== For example, to enable pretty print, set `spring.jackson.serialization.indent_output=true`. Note that, thanks to the use of xref:reference:features/external-config.adoc#features.external-config.typesafe-configuration-properties.relaxed-binding[relaxed binding], the case of `indent_output` does not have to match the case of the corresponding enum constant, which is `INDENT_OUTPUT`.