StringBuilder message = new StringBuilder();
NSArray<Object> arrayResult = (NSArray<Object>)result.returnValue();
for (Object object : arrayResult) {
if (object instanceof EOEnterpriseObject) {
EOEnterpriseObject eo = (EOEnterpriseObject)object;
message.append(eo.toString()).append(" | ").append(eo.snapshot()).append('\n');
} else {
message.append(object);
}
}
return "response: \n" + message.toString().trim();