mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-30 04:45:55 +08:00
fix bug and add Base58
This commit is contained in:
parent
8fdc9f443f
commit
c3bf175b2b
@ -2,7 +2,7 @@
|
||||
# 🚀Changelog
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
# 5.7.22 (2022-02-24)
|
||||
# 5.7.22 (2022-02-25)
|
||||
|
||||
### 🐣新特性
|
||||
* 【poi 】 ExcelUtil.readBySax增加对POI-5.2.0的兼容性(issue#I4TJF4@gitee)
|
||||
@ -14,6 +14,7 @@
|
||||
* 【core 】 FileUtil增加getTotalLines方法
|
||||
* 【db 】 MetaUtil增加getTableMeta重载(issue#2157@Github)
|
||||
* 【http 】 增加HttpGlobalConfig.setDecodeUrl(issue#I4U8YQ@Gitee)
|
||||
* 【core 】 增加Base58(pr#2162@Github)
|
||||
|
||||
### 🐞Bug修复
|
||||
* 【cache 】 修复ReentrantCache.toString方法线程不安全问题(issue#2140@Github)
|
||||
@ -21,6 +22,7 @@
|
||||
* 【crypto 】 修复SM2.getD前导0问题(pr#2149@Github)
|
||||
* 【core 】 修复ChineseDate在1970年之前农历差一天问题(issue#I4UTPK@Gitee)
|
||||
* 【core 】 修复CoordinateUtil精准问题及转换bug(pr#551@Gitee)
|
||||
* 【json 】 修复JSONObject解析XML后没有返回的bug(issue#2160@Github)
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
# 5.7.21 (2022-02-14)
|
||||
|
@ -719,6 +719,7 @@ public class JSONObject implements JSON, JSONGetter<String>, Map<String, Object>
|
||||
if (StrUtil.startWith(jsonStr, '<')) {
|
||||
// 可能为XML
|
||||
XML.toJSONObject(this, jsonStr, false);
|
||||
return;
|
||||
}
|
||||
init(new JSONTokener(StrUtil.trim(source), this.config));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user