Package dev.nolij.zson
Annotation Interface ZsonField
ZsonField is an annotation that can be used to specify properties
about a field in a class that is being serialized or deserialized to ZSON.
-
Optional Element Summary
Optional Elements
-
Element Details
-
comment
String comment- Returns:
- a comment that describes this field, to be included in the ZSON output.
- Default:
"\u0000"
-
include
boolean include- Returns:
- whether to include this field when (de)serializing, even if it is private or static.
- Default:
false
-
exclude
boolean exclude- Returns:
- whether to exclude this field when (de)serializing.
- Default:
false
-