Package org.gittorr.ccerial
Annotation Interface CcArray
Override the default behavior for arrays, collections or strings
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionintDefine a fixed size for an array, collection or stringbooleanbooleanSerialize a string as an array of chars.Change the charset for strings
-
Element Details
-
count
int countDefine a fixed size for an array, collection or string- Default:
- -1
-
nullIsEmpty
boolean nullIsEmpty- Default:
- true
-
stringCharsetName
String stringCharsetNameChange the charset for strings- Default:
- "UTF-8"
-
stringAsCharArray
boolean stringAsCharArraySerialize a string as an array of chars. The difference is that it will use wide char instead of a defined charset.- Default:
- false
-