optString会在得不到你想要的值时候返回空字符串”“,而getString会抛出异常。
JSONObject中optString和getString等的区别
猜你喜欢
转载自blog.csdn.net/u011368551/article/details/80503593
今日推荐
周排行