| 方法和说明 |
|---|
| cn.hutool.json.JSONUtil.isJson(String)
方法名称有歧义,请使用
JSONUtil.isTypeJSON(String) |
| cn.hutool.json.JSONUtil.isJsonArray(String)
方法名称有歧义,请使用
JSONUtil.isTypeJSONArray(String) |
| cn.hutool.json.JSONUtil.isJsonObj(String)
方法名称有歧义,请使用
JSONUtil.isTypeJSONObject(String) |
| cn.hutool.json.JSONConfig.isOrder()
始终返回
true |
| cn.hutool.json.JSONUtil.parseObj(Object, boolean, boolean)
isOrder参数不再有效
|
| cn.hutool.json.JSONObject.put(String, Object)
此方法存在歧义,原Map接口返回的是之前的值,重写后返回this了,未来版本此方法会修改,请使用
JSONObject.set(String, Object) |
| cn.hutool.json.JSONConfig.setOrder(boolean)
始终有序,无需设置
|
| 构造器和说明 |
|---|
| cn.hutool.json.JSONObject(CharSequence, boolean)
isOrder无效
|
| cn.hutool.json.JSONObject(int, boolean, boolean)
isOrder无效
|
| cn.hutool.json.JSONObject(Object, boolean, boolean)
isOrder参数不再需要,JSONObject默认有序!
|
Copyright © 2022. All rights reserved.