Subversion Repositories SmartDukaan

Rev

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

Rev 31634 Rev 31635
Line 796... Line 796...
796
			if (doc.has("label_ss")) {
796
			if (doc.has("label_ss")) {
797
				logger.info("label {}", doc.getJSONArray("label_ss"));
797
				logger.info("label {}", doc.getJSONArray("label_ss"));
798
 
798
 
799
				JSONArray arr = doc.getJSONArray("label_ss");
799
				JSONArray arr = doc.getJSONArray("label_ss");
800
				List<String> labels = new ArrayList<String>();
800
				List<String> labels = new ArrayList<String>();
801
				for (int j = 0; j < 3; j++) {
801
				for (int j = 0; j < arr.length(); j++) {
802
					labels.add(arr.getString(j));
802
					labels.add(arr.getString(j));
803
				}
803
				}
804
 
804
 
805
				fofoCatalogResponse.setLabels(labels);
805
				fofoCatalogResponse.setLabels(labels);
806
 
806