"body":"{\"temp\":\"1\",\"temp1\":\"2\"}" 将使用的jsonObject换成下面这个包里面的就可以了 import net.sf.json.JSONObject;