Annotation Type ExtendedOutput
-
@Retention(RUNTIME) @Target(FIELD) public @interface ExtendedOutput
Annotation used to configure the extended JSON output format for a Data Transfer Object (DTO) field of typeContentHolder.Includelist options are used to customize the serialized record content.Warning, this annotation is only considered in the scope of the REST Toolkit framework.
Usage:
public final class CityDTO { @ExtendedOutput(Include.ALL) public ContentHolder city; @ExtendedOutput({Include.META,Include.LABEL}) public ContentHolder department; }- Since:
- 6.0.0
-
-
Element Detail
-
value
Include[] value
-
-