1
0
mirror of https://gitee.com/dromara/hutool.git synced 2025-04-05 17:37:59 +08:00

Merge pull request from ghjdegithub/patch-1

[bug修复] Update ObjectMapper.java 删除重复调用StrUtil.trim(source)代码
This commit is contained in:
Golden Looly 2025-02-18 17:38:04 +08:00 committed by GitHub
commit 05e68b9683
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -216,7 +216,7 @@ public class ObjectMapper {
XML.toJSONObject(jsonObject, jsonStr, false);
return;
}
mapFromTokener(new JSONTokener(StrUtil.trim(source), jsonObject.getConfig()), jsonObject, filter);
mapFromTokener(new JSONTokener(jsonStr, jsonObject.getConfig()), jsonObject, filter);
}
/**