Gson gson = new Gson(); gson.toJson(user ); //return String (no null object) //2. JSONObject.fromObject(user).toString() //contains null object ...
確定! 回上一頁