Annotation Interface SerCustomWrite


@Target(METHOD) @Retention(RUNTIME) public @interface SerCustomWrite
This annotation is used to customize the serialization process of an object. It is executed when an object is about to be serialized. The implementation may:

Required prototype:

 private void save(SerializerHelper writer) [throws IOException]
 
Note that the visibility MUST be private to make sure that sub-classes do not accidentally override a custom writer method of a super-class.