@Internal public final class JacksonFeatures extends java.lang.Object
ObjectMapper
.
Features are supplied through the JacksonFeatures
annotation.Constructor and Description |
---|
JacksonFeatures()
Empty jackson features.
|
Modifier and Type | Method and Description |
---|---|
JacksonFeatures |
addFeature(com.fasterxml.jackson.databind.DeserializationFeature deserializationFeature,
boolean isEnabled)
Add a deserialization feature.
|
JacksonFeatures |
addFeature(com.fasterxml.jackson.databind.SerializationFeature serializationFeature,
boolean isEnabled)
Add a serialization feature.
|
java.util.Map<com.fasterxml.jackson.databind.DeserializationFeature,java.lang.Boolean> |
getDeserializationFeatures()
Deserialization features.
|
java.util.Map<com.fasterxml.jackson.databind.SerializationFeature,java.lang.Boolean> |
getSerializationFeatures()
Serialization features.
|
public JacksonFeatures addFeature(com.fasterxml.jackson.databind.SerializationFeature serializationFeature, boolean isEnabled)
serializationFeature
- serialization feature to enable/disableisEnabled
- whether you want to turn feature on/offpublic JacksonFeatures addFeature(com.fasterxml.jackson.databind.DeserializationFeature deserializationFeature, boolean isEnabled)
deserializationFeature
- deserialization feature to enable/disableisEnabled
- whether you want to turn feature on/offpublic java.util.Map<com.fasterxml.jackson.databind.SerializationFeature,java.lang.Boolean> getSerializationFeatures()
public java.util.Map<com.fasterxml.jackson.databind.DeserializationFeature,java.lang.Boolean> getDeserializationFeatures()