插件开发工具库,推荐依赖该工具库。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

21 lines
500 B

package com.fanruan.api.json;
import com.fr.json.JSONObject;
public class JSONKit {
/**
* 创建一个JSONObject对象
*
* @return 一个JSONObject对象
*/
public static JSONObject create() {
return new JSONObject();
}
/**
* 创建一个JSONObject对象
* @param text 用来创建对象时的字符串
* @return 一个JSONObject对象
*/
public static JSONObject create(String text) {
return new JSONObject(text);
}
}