Commit 809e3050 authored by Andy Wilkinson's avatar Andy Wilkinson

Merge branch '1.5.x' into 2.0.x

parents 58be01a7 9a49e8ef
...@@ -1197,25 +1197,31 @@ configure various aspects of its processing. These features are described in six ...@@ -1197,25 +1197,31 @@ configure various aspects of its processing. These features are described in six
Jackson) that map onto properties in the environment: Jackson) that map onto properties in the environment:
|=== |===
|Jackson enum|Environment property |Enum|Property|Values
|`com.fasterxml.jackson.databind.DeserializationFeature` |`com.fasterxml.jackson.databind.DeserializationFeature`
|`spring.jackson.deserialization.<feature_name>=true\|false` |`spring.jackson.deserialization.<feature_name>`
|`true`, `false`
|`com.fasterxml.jackson.core.JsonGenerator.Feature` |`com.fasterxml.jackson.core.JsonGenerator.Feature`
|`spring.jackson.generator.<feature_name>=true\|false` |`spring.jackson.generator.<feature_name>`
|`true`, `false`
|`com.fasterxml.jackson.databind.MapperFeature` |`com.fasterxml.jackson.databind.MapperFeature`
|`spring.jackson.mapper.<feature_name>=true\|false` |`spring.jackson.mapper.<feature_name>`
|`true`, `false`
|`com.fasterxml.jackson.core.JsonParser.Feature` |`com.fasterxml.jackson.core.JsonParser.Feature`
|`spring.jackson.parser.<feature_name>=true\|false` |`spring.jackson.parser.<feature_name>`
|`true`, `false`
|`com.fasterxml.jackson.databind.SerializationFeature` |`com.fasterxml.jackson.databind.SerializationFeature`
|`spring.jackson.serialization.<feature_name>=true\|false` |`spring.jackson.serialization.<feature_name>`
|`true`, `false`
|`com.fasterxml.jackson.annotation.JsonInclude.Include` |`com.fasterxml.jackson.annotation.JsonInclude.Include`
|`spring.jackson.default-property-inclusion=always\|non_null\|non_absent\|non_default\|non_empty` |`spring.jackson.default-property-inclusion`
|`always`, `non_null`, `non_absent`, `non_default`, `non_empty`
|=== |===
For example, to enable pretty print, set `spring.jackson.serialization.indent_output=true`. For example, to enable pretty print, set `spring.jackson.serialization.indent_output=true`.
......
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