@Retention(value=RUNTIME) @Target(value=TYPE) public @interface DataObject
JsonObjectList setter type declares a multi valued property, otherwise it declares
a single valued property.
An adder is a method prefixed by add, its purpose is to declare a List of properties.
An adder declares a multi valued property, mapped to the JsonArray type. An adder
and a multi valued setter of the same property name are naturally compatible and is encouraged.
Properties types can be:
JsonObjectJsonArrayList of abovetoJson() method that takes no arguments and returns a JsonObject representing
the data object as a JsonObject.| Modifier and Type | Optional Element and Description |
|---|---|
String |
base64Type
Deprecated.
instead declare a
JsonGen.base64Type() |
boolean |
generateConverter
Deprecated.
instead declare a
JsonGen annotation |
boolean |
inheritConverter
Deprecated.
instead declare a
JsonGen.inheritConverter() |
Class<? extends Case> |
jsonPropertyNameFormatter
Deprecated.
instead declare a
JsonGen.jsonPropertyNameFormatter() |
boolean |
publicConverter
Deprecated.
instead declare a
JsonGen.publicConverter() |
@Deprecated public abstract boolean generateConverter
JsonGen annotation@Deprecated public abstract boolean inheritConverter
JsonGen.inheritConverter()@Deprecated public abstract boolean publicConverter
JsonGen.publicConverter()@Deprecated public abstract Class<? extends Case> jsonPropertyNameFormatter
JsonGen.jsonPropertyNameFormatter()@Deprecated public abstract String base64Type
JsonGen.base64Type()base64url, unless the
system property vertx.json.base64 is legacy. In this case the alphabet will
be basic as it was during the vert.x 3.x releases.
Allowed values are:
"base64url" - Base64 URL and Filename Safe as defined in (RFC 4648 Table 2) "basic" - Base64 Basic as defined in (RFC 4648 Table 1) Copyright © 2025 Eclipse. All rights reserved.