| | |
| | | import com.qianwen.core.tool.utils.StringUtil; |
| | | import org.springframework.lang.Nullable; |
| | | |
| | | /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/jackson/JsonUtil.class */ |
| | | public class JsonUtil { |
| | | private static final Logger log = LoggerFactory.getLogger(JsonUtil.class); |
| | | |
| | |
| | | if (!StringUtil.startsWithIgnoreCase(content, StringPool.LEFT_SQ_BRACKET)) { |
| | | content = StringPool.LEFT_SQ_BRACKET + content + StringPool.RIGHT_SQ_BRACKET; |
| | | } |
| | | List<Map<String, Object>> list = (List) getInstance().readValue(content, new TypeReference<List<Map<String, Object>>>() { // from class: org.springblade.core.tool.jackson.JsonUtil.1 |
| | | List<Map<String, Object>> list = (List) getInstance().readValue(content, new TypeReference<List<Map<String, Object>>>() { |
| | | }); |
| | | ArrayList arrayList = new ArrayList(); |
| | | for (Map<String, Object> map : list) { |
| | |
| | | } |
| | | |
| | | /* JADX INFO: Access modifiers changed from: private */ |
| | | /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/jackson/JsonUtil$JacksonHolder.class */ |
| | | |
| | | public static class JacksonHolder { |
| | | private static final ObjectMapper INSTANCE = new JacksonObjectMapper(); |
| | | |
| | |
| | | } |
| | | } |
| | | |
| | | /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/jackson/JsonUtil$JacksonObjectMapper.class */ |
| | | |
| | | private static class JacksonObjectMapper extends ObjectMapper { |
| | | private static final long serialVersionUID = 4288193147502386170L; |
| | | private static final Locale CHINA = Locale.CHINA; |