mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Document spring.http.converters.preferred-json-mapper
See gh-2247
This commit is contained in:
parent
b39ecdf006
commit
b4cb7a35c9
@ -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",
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user