Subversion Repositories SmartDukaan

Rev

Rev 24101 | Rev 24117 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 24101 Rev 24108
Line 470... Line 470...
470
			JSONObject doc = docs.getJSONObject(i);
470
			JSONObject doc = docs.getJSONObject(i);
471
			FofoCatalogResponse ffdr = new FofoCatalogResponse();
471
			FofoCatalogResponse ffdr = new FofoCatalogResponse();
472
			ffdr.setCatalogId(doc.getInt("catalogId_i"));
472
			ffdr.setCatalogId(doc.getInt("catalogId_i"));
473
			ffdr.setImageUrl(doc.getString("imageUrl_s"));
473
			ffdr.setImageUrl(doc.getString("imageUrl_s"));
474
			ffdr.setTitle(doc.getString("title_s"));
474
			ffdr.setTitle(doc.getString("title_s"));
475
 
-
 
-
 
475
			ffdr.setFeature(doc.getString("feature_s"));
476
			ffdr.setBrand(doc.getJSONArray("brand_ss").getString(0));
476
			ffdr.setBrand(doc.getJSONArray("brand_ss").getString(0));
477
 
477
 
478
			for (int j = 0; j < doc.getJSONArray("_childDocuments_").length(); j++) {
478
			for (int j = 0; j < doc.getJSONArray("_childDocuments_").length(); j++) {
479
				JSONObject childItem = doc.getJSONArray("_childDocuments_").getJSONObject(j);
479
				JSONObject childItem = doc.getJSONArray("_childDocuments_").getJSONObject(j);
480
				int itemId = childItem.getInt("itemId_i");
480
				int itemId = childItem.getInt("itemId_i");