If the application developer wants to override the functionality of JSONBeanSerializationHelper.toJSON(), he can implement JSONSerializable interface and can add his custom serialization code in JSONSerializable.toJSON(). Note: He bears the complete responsibility for detecting and avoiding cyclic objects as well.