add setFreezePane

This commit is contained in:
Looly
2020-03-30 10:38:15 +08:00
parent 3eaf4702f5
commit 2783f17472
3 changed files with 48 additions and 0 deletions

View File

@@ -48,6 +48,17 @@ public final class JSONUtil {
return new JSONObject();
}
/**
* 创建JSONObject
*
* @param config JSON配置
* @return JSONObject
* @since 5.2.5
*/
public static JSONObject createObj(JSONConfig config) {
return new JSONObject(config);
}
/**
* 创建 JSONArray
*
@@ -57,6 +68,17 @@ public final class JSONUtil {
return new JSONArray();
}
/**
* 创建 JSONArray
*
* @param config JSON配置
* @return JSONArray
* @since 5.2.5
*/
public static JSONArray createArray(JSONConfig config) {
return new JSONArray(config);
}
/**
* JSON字符串转JSONObject对象
*