Annotation 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
    Modifier and Type
    Optional Element
    Description
    int
    Optional rank for this config.
  • Element Details

    • rank

      int rank
      Optional rank for this config.

      Can be used to override default ordering and application of config annotations.

      Returns:
      The annotation value.
      Default:
      0