Annotation Interface ExtendedOutput
Annotation used to configure the extended JSON output format
for a Data Transfer Object (DTO) field of type
ContentHolder.
Include list 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
-
Required Element Summary
Required Elements
-
Element Details
-
value
Include[] value
-