| | |
| | | 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) { |