public class JavaBean2JSON extends BaseTransformer<Object, Object> implements PullTransformer<Object, Object> {
private JSONSerializer serializer;
public JavaBean2JSON() {
serializer = new JSONSerializer();
try {
serializer.registerDefaultSerializers();
} catch (Exception e) {
throw new TransformationException(e);
}