christophsturm
08/29/2018, 1:47 PMobject Jackson : ObjectMapper() {
init {
enable(SerializationFeature.INDENT_OUTPUT)
....
}
}
trevjones
08/29/2018, 5:35 PMObjectMapper
not on the Jackson objectchristophsturm
08/29/2018, 6:33 PMchristophsturm
08/29/2018, 6:34 PMkingsley
08/31/2018, 3:08 PMval Jackson = ObjectMapper().apply {
enable(SerializationFeature.INDENT_OUTPUT)
...
}
This avoids creating a totally new subclass of object mapper