程序包 com.sh.util
类 JSONUtil
java.lang.Object
com.sh.common.util.SHUtils
com.sh.util.JSONUtil
Description: JSON工具类
Title:首亨软件 - CRM、TSS、ERP等信息化管理软件
-
嵌套类概要
嵌套类 -
字段概要
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static JSONUtil.JSONObjectBuilderstatic intgetInt(JSONObject obj, String key) static intgetInt(JSONObject obj, String key, int defaultValue) static intgetIntByPath(JSONObject obj, String keyPath) static JSONArraygetJSONArrayByPath(JSONObject obj, String keyPath) static ObjectgetObject(JSONObject obj, String key) static ObjectgetObjectByPath(JSONObject obj, String keyPath) static StringgetString(JSONObject obj, String key) static StringgetStringByPath(JSONObject obj, String keyPath) static booleanisSuccess(JSONObject ret) 是否成功static JSONObjectstatic JSONObjectstatic JSONObject从类继承的方法 com.sh.common.util.SHUtils
getDeptAllUser, getRequest, getResponse, getRoleDeptUser, isAjaxQuery, isAjaxQuery, isContain
-
构造器详细资料
-
JSONUtil
public JSONUtil()
-
-
方法详细资料
-
toSuccess
-
toSuccess
-
toFailure
-
isSuccess
是否成功- 参数:
ret-- 返回:
-
getObject
-
getString
-
getInt
-
getInt
-
getObjectByPath
-
getJSONArrayByPath
-
getIntByPath
-
getStringByPath
-
createBuilder
-