JSONObject json = new JSONObject(jsonstr);\n//\t\tSystem.out.println(json);\n\t\tJSONArray data = json.getJSONArray("data");\n\t\tint length = data.length();\n\t\tString allImageUrls = "";\t\t\n\t\tfor (int i = 0; i < length; i++) {\n\t\t\tr = sheet.createRow(i + rowcount);\n\t\t\tr.setHeight((short) (256 * 2));\n\n\t\t\tint cellNum = 0;\n\t\t\tJSONObject temp = new JSONObject(data.optString(i));\n\t\t\tfor (cellNum = 0; cellNum < displayKeys.length + 5; cellNum++) {\n\t\t\t\tif (cellNum >= dataKeys.length) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tString value = temp.optString(dataKeys[cellNum]);\n\n\t\t\t\tif (dataKeys[cellNum].equals("images")) {\n\t\t\t\t\tJSONArray images = temp.optJSONArray("images");\n\t\t\t\t\tif ((images != null)&&(cellNum<(displayKeys.length+images.length()-1))) {\n\t\t\t\t\t\tfor (int j = 0; j < images.length(); j++) {\n\t\t\t\t\t\t\tString imageUrl = images.optString(j) + "?imageMogr2/thumbnail/!20p";\n\t\t\t\t\t\t\tString imageHyperLinkString = "=HYPERLINK(""+ imageUrl + "")";\n\t\t\t\t\t\t\tSystem.out.println(imageUrl);\n\t\t\t\t\t\t\tSystem.out.println(imageHyperLinkString);\n\t\t\t\t\t\t\tCellUtil.createCell(r, cellNum + j, imageHyperLinkString);\n\t\t\t\t\t\t\t// 将imageUrl添加到allImageUrls中\n\t\t\t\t\t\t\tallImageUrls += imageUrl + "\n";\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tCellUtil.createCell(r, cellNum, value);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n