open fun setExtractValueFromSingleKeyModel(extractValueFromSingleKeyModel: Boolean): Unit
Set whether to serialize models containing a single attribute as a map or whether to extract the single value from the model and serialize it directly.
The effect of setting this flag is similar to using MappingJackson2HttpMessageConverter
with an @ResponseBody
request-handling method.
Default is false
.