int propCount = 0;
for (ClassProperty property : properties) {
// if(property.isCollector()) {
// continue;
// }
ClassPropertyAccessor accessor = property.getAccessor();
if (accessor == null || !accessor.canAccess()) {
continue;
}
if (accessor.fieldType()) {
try {
Field field = property.getAccessor().getField();
value = marshalObjectFieldValue(field, o, cycleDetector);
if (value == null) {
continue;
}
} catch (Exception ex) {
ex.printStackTrace();
value = new JSON.String(ex.toString());
}
} else if (accessor.methodType()) {
try {
Method method = property.getAccessor().getMethod();
value = marshalObjectMethodValue(method, o, cycleDetector);
if (value == null) {
continue;