Package com.jsoniter.annotation
Annotation Type JsonObject
-
Element Details
-
unknownPropertiesBlacklist
String[] unknownPropertiesBlacklist- Returns:
- if the unknown property is in this list, it will be treated as extra, if the unknown property is in this list, it will be treated as extra
- Default:
{}
-
unknownPropertiesWhitelist
String[] unknownPropertiesWhitelist- Returns:
- if the unknown property is in this list, it will be silently ignored
- Default:
{}
-
asExtraForUnknownProperties
boolean asExtraForUnknownProperties- Returns:
- if true, all known properties will be treated as extra, if @JsonExtraProperties not defined, it will be treated as error
- Default:
false
-