# Annotation: com.pnfsoftware.jeb.util.serialization.annotations.SerVersion

Optional annotation for serializable types, used to specify the version of the object. If an @Ser type does not have an @SerVersion annotation, it is assumed to be 0. When deserializing an object, the serialized version id can be retrieved via the use of a [custom object loader](SerCustomRead). 

 When modifying the structure \(fields or type hierarchy\) of an object marked @Ser, the @SerVersion is no longer optional. It must be set to a value greater than the one previously sets.

## Method: value
- return type: `int`


