mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
fix code
This commit is contained in:
parent
0e75e75f5d
commit
06ada31d88
@ -293,10 +293,6 @@ public class JSONFactory {
|
||||
*/
|
||||
public JSONArray parseArray(final Object obj) {
|
||||
final JSONMapper mapper = getMapper();
|
||||
// if (obj instanceof JSONObject) {
|
||||
// return mapper.mapFromJSONObject((JSONObject) obj);
|
||||
// }
|
||||
|
||||
if (obj instanceof CharSequence) {
|
||||
return (JSONArray) mapper.map((CharSequence) obj);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user