![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java
qingyue32
这个作者很懒,什么都没留下…
展开
-
Java url解码
public static String decode(String url) { try { String prevURL = ""; String decodeURL = url; while (!prevURL.equals(decodeURL)) { prevURL = decodeURL; decodeURL = URLDecoder.decode(decode...原创 2018-06-07 17:17:14 · 1977 阅读 · 0 评论 -
string转为json
import org.json.JSONObject; String str = "{\"result\":\"success\",\"message\":\"成功!\"}"; JSONObject json = new JSONObject(str); System.out.println(json.toString());import net.sf.json.JSONObjec...原创 2018-06-07 17:22:25 · 3457 阅读 · 0 评论