mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-05 17:37:59 +08:00
Update ObjectMapper.java
cn.hutool.json.ObjectMapper.java 212行 mapFromStr函数 重复调用StrUtil.trim(source)
This commit is contained in:
parent
21d3dadd13
commit
b0e1302332
@ -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