The difference is that optString returns the empty string ( "" ) if the key you specify doesn't exist. getString on the other hand throws a JSONException . Use ...
確定! 回上一頁