Android studio 中 String 转 JSON try { JSONObject result = new JSONObject(str); // String 转 JSONObject result.get("字段名"); // 获取值 } catch (JSONException e) { e.printStackTrace(); }