diff --git a/.gitignore b/.gitignore index efc7569..d2bdc20 100644 --- a/.gitignore +++ b/.gitignore @@ -17,6 +17,7 @@ Thumbs.db *.class # idea # +!.idea/icon.png .idea *.iml diff --git a/.idea/icon.png b/.idea/icon.png new file mode 100644 index 0000000..caada1c Binary files /dev/null and b/.idea/icon.png differ diff --git a/blade-core-tool/src/main/java/org/springblade/core/tool/jackson/JsonUtil.java b/blade-core-tool/src/main/java/org/springblade/core/tool/jackson/JsonUtil.java index 57180e8..a75d008 100644 --- a/blade-core-tool/src/main/java/org/springblade/core/tool/jackson/JsonUtil.java +++ b/blade-core-tool/src/main/java/org/springblade/core/tool/jackson/JsonUtil.java @@ -814,8 +814,7 @@ public class JsonUtil { return Collections.emptyList(); } try { - return getInstance().readValue(content, new TypeReference>>() { - }); + return getInstance().readValue(content, getListType(Map.class)); } catch (IOException e) { throw Exceptions.unchecked(e); }