File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ import com.fasterxml.jackson.databind.JsonNode
23
23
import com.fasterxml.jackson.databind.ObjectMapper
24
24
import com.fasterxml.jackson.databind.PropertyNamingStrategy
25
25
import com.fasterxml.jackson.databind.SerializationFeature
26
+ import com.fasterxml.jackson.databind.json.JsonMapper
26
27
import com.fasterxml.jackson.databind.node.MissingNode
27
28
import com.fasterxml.jackson.dataformat.xml.XmlMapper
28
29
import com.fasterxml.jackson.dataformat.yaml.YAMLMapper
@@ -43,7 +44,7 @@ private val mapperConfig: ObjectMapper.() -> Unit = {
43
44
propertyNamingStrategy = PROPERTY_NAMING_STRATEGY
44
45
}
45
46
46
- val jsonMapper = ObjectMapper ().apply (mapperConfig)
47
+ val jsonMapper = JsonMapper ().apply (mapperConfig)
47
48
val xmlMapper = XmlMapper ().apply (mapperConfig)
48
49
val yamlMapper = YAMLMapper ().apply (mapperConfig)
49
50
You can’t perform that action at this time.
0 commit comments