private static String PROJECT_API = "http://api.cmdb.dp/api/v0.1/bu/%s/products?page=%s";
public static void main(String args[]) throws Exception {
String content = fetchContent(BU_API);
JsonObject object = new JsonObject(content);
JsonArray projectArray = object.getJSONArray("bu");
int length = projectArray.length();
for (int i = 0; i < length; i++) {
JsonObject project = projectArray.getJSONObject(i);
String bu = project.getString("bu_name");
String nextUrl = String.format(PROJECT_API, bu, String.valueOf(1));
String detailContent = fetchContent(nextUrl);
print(bu, detailContent);