// // Source code recreated from a .class file by IntelliJ IDEA // (powered by Fernflower decompiler) // package com.sprucetec.datacenter.util; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; public class JsonMapperUtil { private static ObjectMapper objectMapper; public JsonMapperUtil() { } public static ObjectMapper getJsonMapper() { if(objectMapper == null) { Class var0 = JsonMapperUtil.class; synchronized(JsonMapperUtil.class) { if(objectMapper == null) { objectMapper = new ObjectMapper(); objectMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false); } } } return objectMapper; } }
JsonMapperUtil
最新推荐文章于 2020-05-19 09:46:44 发布