fetch('http://localhost:3000/users').then((response) => response.json()).then((json) => console.log(json));
答案 0 :(得分:0)
您可以轻松解析Android中的json
JSONArray jArray = new JSONArray (result);
for(int i=0; I<jArray.length; i++){
JSONObject jObject = jArray.getJSONObject(i);
String name = jObject.getString("name");
}