# Annotation: com.pnfsoftware.jeb.util.serialization.annotations.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: 
 
- update the object state, including [SerId](SerId) fields 
- call [SerializerHelper#saveStandard()](SerializerHelper#saveStandard()) \(mandatory\) 
- optionally, update the object before returning 

 

 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.

