Decoding InputStream for Java HTTP GET
This question already has an answer here:
您可以使用org.json API从InputStream
创建JSONObject
,如下所示: JSONObject obj = new JSONObject(new JSONTokener(connection.getInputStream())
上一篇: 如何在java中阅读一个post包的正文
This question already has an answer here:
您可以使用org.json API从InputStream
创建JSONObject
,如下所示: JSONObject obj = new JSONObject(new JSONTokener(connection.getInputStream())
上一篇: 如何在java中阅读一个post包的正文