Document spring.http.converters.preferred-json-mapper

See gh-2247
This commit is contained in:
Andy Wilkinson 2015-02-05 12:00:24 +00:00
parent b39ecdf006
commit b4cb7a35c9
2 changed files with 8 additions and 0 deletions

View File

@ -59,6 +59,11 @@
"description": "Enable http encoding support.",
"defaultValue": true
},
{
"name": "spring.http.converters.preferred-json-mapper",
"type": "java.lang.String",
"description": "The preferred JSON mapper to use for HTTP message conversion."
},
{
"name": "spring.jmx.enabled",
"type": "java.lang.Boolean",

View File

@ -107,6 +107,9 @@ content into your application; rather pick only the properties that you need.
spring.http.encoding.enabled=true # enable http encoding support
spring.http.encoding.force=true # force the configured encoding
# HTTP message conversion
spring.http.converters.preferred-json-mapper= # the preferred JSON mapper to use for HTTP message conversion. Set to "gson" to force the use of Gson when both it and Jackson are on the classpath.
# HTTP response compression ({sc-spring-boot-autoconfigure/web/GzipFilterProperties.{sc-ext}[GzipFilterProperties])
spring.http.gzip.bufferSize= # size of the output buffer in bytes
spring.http.gzip.minGzipSize= # minimum content length required for compression to occur