// embedded catridges
List<IEmbeddedCartridge> embeddedCartridges = application.getEmbeddedCartridges();
if (embeddedCartridges != null && !embeddedCartridges.isEmpty()) {
sb.append("\n \"embeddedCatridges\": [");
for (Iterator<IEmbeddedCartridge> it = embeddedCartridges.iterator(); it.hasNext();) {
IEmbeddedCartridge cartridge = it.next();
sb.append("\n \"catridge\": {");
sb.append("\n \"name\": \"" + cartridge.getName() + "\",");
sb.append("\n \"displayName\": \"" + cartridge.getDisplayName() + "\",");
sb.append("\n \"description\": \"" + cartridge.getDescription() + "\"");
sb.append("\n }");
if (it.hasNext()) {
sb.append(",");
}
}