Welcome
Annotation to generate CustomFieldSerializer classes with specific serialization requirements may take advantage of custom field serializers.
@GenSerializer
Annotation use:
```
@GenSerializer
public class CategoryItem {
List productKey;
int quantity;
/** setter and getter **/
}
```
Result code generate:
```
public class CategoryItem_CustomFieldSerializer {
@SuppressWarnings("unchecked")
public static void deserialize(SerializationStreamReader reader, CategoryItem instance) throws SerializationException {
instance.setProductKey((ArrayList
) reader.readObject());
instance.setQuantity(reader.readInt());
}
public static void serialize(SerializationStreamWriter writer, CategoryItem instance) throws SerializationException {
if (instance.getProductKey() == null) {
writer.writeObject(new ArrayList