我在org.springframework.boot.autoconfigure.BackgroundPreinitializer
中找到了代码:
runSafely(new JacksonInitializer());
private static class JacksonInitializer implements Runnable {
@Override
public void run() {
Jackson2ObjectMapperBuilder.json().build();
}
}
这里构建的ObjectMapper
似乎已被删除,那么这段代码的功能是什么?
谢谢!