Annotation Interface JacksonFeatures


@Documented @Retention(RUNTIME) @Target({ANNOTATION_TYPE,TYPE}) public @interface JacksonFeatures
Annotation that can be applied to types that use Jackson to customize serialization features.
Since:
1.0
Author:
Graeme Rocher
  • Element Details

    • enabledSerializationFeatures

      com.fasterxml.jackson.databind.SerializationFeature[] enabledSerializationFeatures
      Returns:
      The enabled serialization features
      Default:
      {}
    • disabledSerializationFeatures

      com.fasterxml.jackson.databind.SerializationFeature[] disabledSerializationFeatures
      Returns:
      The disabled serialization features
      Default:
      {}
    • enabledDeserializationFeatures

      com.fasterxml.jackson.databind.DeserializationFeature[] enabledDeserializationFeatures
      Returns:
      The enabled serialization features
      Default:
      {}
    • disabledDeserializationFeatures

      com.fasterxml.jackson.databind.DeserializationFeature[] disabledDeserializationFeatures
      Returns:
      The disabled serialization features
      Default:
      {}
    • additionalModules

      Class<? extends com.fasterxml.jackson.databind.Module>[] additionalModules
      Returns:
      Additional modules to add to the jackson mapper
      Default:
      {}