public List<BusinessLocalAd> a(JSONObject paramJSONObject) throws YelpException, JSONException {
   ArrayList localArrayList =
       JsonUtil.parseJsonList(paramJSONObject.getJSONArray("local_ads"), BusinessLocalAd.CREATOR);
   BusinessLocalAd.a(
       localArrayList,
       JsonUtil.parseJsonList(
           paramJSONObject.getJSONArray("ad_businesses"), YelpBusiness.CREATOR));
   return localArrayList;
 }
 public void a(JSONObject paramJSONObject) throws JSONException {
   if (!paramJSONObject.isNull("events")) {
     a = JsonUtil.parseJsonList(paramJSONObject.optJSONArray("events"), Event.CREATOR);
     if (paramJSONObject.isNull("users")) {
       break label186;
     }
     b = JsonUtil.parseJsonList(paramJSONObject.optJSONArray("users"), User.CREATOR);
     label50:
     if (paramJSONObject.isNull("businesses")) {
       break label196;
     }
   }
   label186:
   label196:
   for (c =
           JsonUtil.parseJsonList(
               paramJSONObject.optJSONArray("businesses"), YelpBusiness.CREATOR);
       ;
       c = Collections.emptyList()) {
     if (!paramJSONObject.isNull("alias")) {
       d = paramJSONObject.optString("alias");
     }
     if (!paramJSONObject.isNull("header")) {
       e = paramJSONObject.optString("header");
     }
     f = paramJSONObject.optInt("total");
     if (paramJSONObject.isNull("items_to_show")) {
       return;
     }
     paramJSONObject = paramJSONObject.getJSONArray("items_to_show");
     int j = paramJSONObject.length();
     g = new int[j];
     int i = 0;
     while (i < j) {
       g[i] = paramJSONObject.getInt(i);
       i += 1;
     }
     a = Collections.emptyList();
     break;
     b = Collections.emptyList();
     break label50;
   }
 }
 public a a(JSONObject paramJSONObject) throws YelpException, JSONException {
   ArrayList localArrayList1 = null;
   ArrayList localArrayList2 =
       JsonUtil.parseJsonList(paramJSONObject.getJSONArray("comments"), Comment.CREATOR);
   if (!paramJSONObject.isNull("check_in")) {}
   for (YelpCheckIn localYelpCheckIn =
           (YelpCheckIn) YelpCheckIn.CREATOR.parse(paramJSONObject.getJSONObject("check_in"));
       ;
       localYelpCheckIn = null) {
     if (!paramJSONObject.isNull("business")) {}
     for (YelpBusiness localYelpBusiness =
             (YelpBusiness) YelpBusiness.CREATOR.parse(paramJSONObject.getJSONObject("business"));
         ;
         localYelpBusiness = null) {
       if (!paramJSONObject.isNull("feedbacks")) {
         localArrayList1 =
             JsonUtil.parseJsonList(
                 paramJSONObject.getJSONArray("feedbacks"), CheckInFeedback.CREATOR);
       }
       return new a(localArrayList2, localYelpCheckIn, localYelpBusiness, localArrayList1);
     }
   }
 }
 public void writeToParcel(Parcel paramParcel, int paramInt) {
   paramParcel.writeBundle(JsonUtil.toBundle(a));
   paramParcel.writeInt(b);
 }
 public void a(JSONObject paramJSONObject) throws JSONException {
   if (!paramJSONObject.isNull("tabs")) {
     a = JsonUtil.parseJsonMap(paramJSONObject.getJSONObject("tabs"), MediaCategory.CREATOR);
   }
   b = paramJSONObject.optInt("total");
 }
 public void a(Parcel paramParcel) {
   a = JsonUtil.fromBundle(paramParcel.readBundle(), MediaCategory.class);
   b = paramParcel.readInt();
 }
 public List<PlatformDisambiguatedAddress> a(JSONObject paramJSONObject)
     throws YelpException, JSONException {
   return JsonUtil.parseJsonList(
       paramJSONObject.getJSONArray("addresses"), PlatformDisambiguatedAddress.CREATOR);
 }