}
return value;
}
protected Value marshalJavaObject(Object o, CycleDetector cycleDetector) throws JSONMarshalerException {
Value marshaledValue;
try {
marshaledValue = javaObjectMarshaler.marshalJavaObject(o, cycleDetector);
} catch (IllegalAccessException ex) {
Logger.getLogger(JavaMarshaler.class.getName()).log(Level.SEVERE, null, ex);
throw new JSONMarshalerException("object", ex);