response.body().string() 与 response.body().toString()的小坑坑
response.body().string() 与 response.body().toString()看服务器返回的数据务必使用 response.body().string()。使用response.body().toString()的话返回的是字符串,后面无法转换成json对象。(java.lang.String cannot be converted to JSONObject)...
复制链接