获取Json字符串中某个key对应的value JSONObject jsonObj= JSONObject.fromObject(jsonStr); String value= jsonObj.getString(key);