mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
Update ObjectMapper.java
cn.hutool.json.ObjectMapper.java 212行 mapFromStr函数 重复调用StrUtil.trim(source)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user