Package io.micronaut.jackson.annotation
Annotation Interface JacksonFeatures
Annotation that can be applied to types that use Jackson to customize serialization features.
- Since:
- 1.0
- Author:
- Graeme Rocher
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionClass<? extends com.fasterxml.jackson.databind.Module>[]
com.fasterxml.jackson.databind.DeserializationFeature[]
com.fasterxml.jackson.databind.SerializationFeature[]
com.fasterxml.jackson.databind.DeserializationFeature[]
com.fasterxml.jackson.databind.SerializationFeature[]
-
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:
- {}
-