Uses of Class
com.sure.tool.json.JSONObject
Packages that use JSONObject
-
Uses of JSONObject in com.sure.tool.json
Methods in com.sure.tool.json that return JSONObjectModifier and TypeMethodDescriptionJSONObject.deepClone()深拷贝(嵌套 JSONObject/JSONArray/Map/List 均递归复制)。JSONArray.getJSONObject(int index) 读取嵌套 JSON 对象。JSONObject.getJSONObject(String key) 读取嵌套 JSON 对象,值为 Map 时自动转换。static JSONObject解析 JSON 字符串。static JSONObject解析 JSON 对象。链式设置值。批量设置(链式)。Methods in com.sure.tool.json with parameters of type JSONObjectModifier and TypeMethodDescriptionstatic <T> TJSONUtil.toBean(JSONObject jsonObject, Class<T> beanClass) JSON 对象转 Bean。 -
Uses of JSONObject in com.sure.tool.jwt
Methods in com.sure.tool.jwt that return JSONObjectModifier and TypeMethodDescriptionJWT.getHeader()获取 header。JWT.getPayload()获取 payload。static JSONObjectJwtUtil.parseToken(String token, String secret) 校验并解析 token,失败抛JWTException。