This commit is contained in:
卢春梦 2024-08-25 12:22:13 +08:00
commit 30a3dd91d5
3 changed files with 2 additions and 2 deletions

1
.gitignore vendored
View File

@ -17,6 +17,7 @@ Thumbs.db
*.class
# idea #
!.idea/icon.png
.idea
*.iml

BIN
.idea/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

View File

@ -814,8 +814,7 @@ public class JsonUtil {
return Collections.emptyList();
}
try {
return getInstance().readValue(content, new TypeReference<List<Map<String, Object>>>() {
});
return getInstance().readValue(content, getListType(Map.class));
} catch (IOException e) {
throw Exceptions.unchecked(e);
}