}
} 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;