private void applySerializationModifier ( ObjectMapper mapper ) { SerializerFactory factory = BeanSerializerFactory . instance . withSerializerModifier ( new GenericSerializerModifier ( ) ) ; mapper . setSerializerFactory ( factory ) ; }
Ensure only bindable and non - cyclic bean properties are reported .