Jackson: fix completely broken jackson initialization
@@ -9,6 +9,7 @@ import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.Module;
import com.fasterxml.jackson.databind.ObjectMapper;
+import com.fasterxml.jackson.databind.json.JsonMapper;
import com.fasterxml.jackson.databind.type.TypeFactory;
import com.fasterxml.jackson.datatype.jdk8.Jdk8Module;
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
@@ -165,6 +166,6 @@ public class JacksonModule implements Extension, MessageDecoder, MessageEncoder
.addModule(new AfterburnerModule())
.build();
- return objectMapper;
+ return mapper;
}
}
