Uses of Enum
com.fasterxml.jackson.databind.MapperFeature
Packages that use MapperFeature
Package
Description
Basic data binding (mapping) functionality that
allows for reading JSON content into Java Objects (POJOs)
and JSON Trees (
JsonNode), as well as
writing Java Objects and trees as JSON.Package that contains most of configuration-related classes;
exception being couple of most-commonly used configuration
things (like Feature enumerations) that are at the
main level (
com.fasterxml.jackson.databind).-
Uses of MapperFeature in com.fasterxml.jackson.databind
Subclasses with type arguments of type MapperFeature in com.fasterxml.jackson.databindModifier and TypeClassDescriptionenumEnumeration that defines simple on/off features to set forObjectMapper, and accessible (but not changeable) viaObjectReaderandObjectWriter(as well as through various convenience methods through context objects).Methods in com.fasterxml.jackson.databind that return MapperFeatureModifier and TypeMethodDescriptionstatic MapperFeatureReturns the enum constant of this type with the specified name.static MapperFeature[]MapperFeature.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.fasterxml.jackson.databind with parameters of type MapperFeatureModifier and TypeMethodDescriptionObjectMapper.configure(MapperFeature f, boolean state) Deprecated.ObjectMapper.disable(MapperFeature... f) Deprecated.Since 2.13 useJsonMapper.builder().disable(...)ObjectMapper.enable(MapperFeature... f) Deprecated.Since 2.13 useJsonMapper.builder().enable(...)abstract booleanDatabindContext.isEnabled(MapperFeature feature) Convenience method for checking whether specified Mapper feature is enabled or not.final booleanDeserializationContext.isEnabled(MapperFeature feature) booleanModule.SetupContext.isEnabled(MapperFeature f) booleanObjectMapper.isEnabled(MapperFeature f) Method for checking whether givenMapperFeatureis enabled.booleanObjectReader.isEnabled(MapperFeature f) booleanObjectWriter.isEnabled(MapperFeature f) final booleanSerializerProvider.isEnabled(MapperFeature feature) -
Uses of MapperFeature in com.fasterxml.jackson.databind.cfg
Methods in com.fasterxml.jackson.databind.cfg with parameters of type MapperFeatureModifier and TypeMethodDescriptionMapperBuilder.configure(MapperFeature feature, boolean state) MapperBuilder.disable(MapperFeature... features) MapperBuilder.enable(MapperFeature... features) booleanMapperBuilder.isEnabled(MapperFeature f) final booleanMapperConfig.isEnabled(MapperFeature f) Accessor for simple mapper features (which are shared for serialization, deserialization)abstract TMapperConfig.with(MapperFeature... features) Method for constructing and returning a new instance with specified mapper features enabled.abstract TMapperConfig.with(MapperFeature feature, boolean state) final TMapperConfigBase.with(MapperFeature... features) Fluent factory method that will construct and return a new configuration object instance with specified features enabled.final TMapperConfigBase.with(MapperFeature feature, boolean state) abstract TMapperConfig.without(MapperFeature... features) Method for constructing and returning a new instance with specified mapper features disabled.final TMapperConfigBase.without(MapperFeature... features) Fluent factory method that will construct and return a new configuration object instance with specified features disabled.
JsonMapper.builder().configure(...)