mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-05 17:37:59 +08:00
Merge pull request #3859 from ghjdegithub/patch-1
[bug修复] Update ObjectMapper.java 删除重复调用StrUtil.trim(source)代码
This commit is contained in:
commit
05e68b9683
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user