Package org.apache.juneau.marshall.jcs
Annotation Interface JcsConfig
@Target({TYPE,METHOD})
@Retention(RUNTIME)
@Inherited
@ContextApply(SerializerApply.class)
public @interface JcsConfig
Annotation for specifying config properties for
JcsSerializer.
Used primarily for specifying bean configuration properties on REST classes and methods. JCS uses fixed canonical output, so no format-specific settings; the annotation provides consistency and future extensibility.
See Also:
-
Optional Element Summary
Optional Elements
-
Element Details
-
rank
int rankOptional rank for this config.Can be used to override default ordering and application of config annotations.
- Returns:
- The annotation value.
- Default:
- 0
-