Uses of Interface
com.fasterxml.jackson.databind.cfg.DatatypeFeature
-
Packages that use DatatypeFeature Package Description com.fasterxml.jackson.databind 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.com.fasterxml.jackson.databind.cfg 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 DatatypeFeature in com.fasterxml.jackson.databind
Methods in com.fasterxml.jackson.databind with parameters of type DatatypeFeature Modifier and Type Method Description ObjectMapper
ObjectMapper. configure(DatatypeFeature f, boolean state)
Method for changing state of an on/off datatype-specific feature for this object mapper.abstract boolean
DatabindContext. isEnabled(DatatypeFeature feature)
Method for checking whether specified datatype feature is enabled or not.boolean
DeserializationConfig. isEnabled(DatatypeFeature feature)
Accessor for checking whether giveDatatypeFeature
is enabled or not.boolean
DeserializationContext. isEnabled(DatatypeFeature feature)
boolean
ObjectReader. isEnabled(DatatypeFeature f)
boolean
ObjectWriter. isEnabled(DatatypeFeature f)
boolean
SerializationConfig. isEnabled(DatatypeFeature feature)
Accessor for checking whether giveDatatypeFeature
is enabled or not.boolean
SerializerProvider. isEnabled(DatatypeFeature feature)
ObjectReader
ObjectReader. with(DatatypeFeature feature)
Method for constructing a new reader instance that is configured with specified feature enabled.ObjectWriter
ObjectWriter. with(DatatypeFeature feature)
Method for constructing a new instance that is configured with specified feature enabled.ObjectReader
ObjectReader. withFeatures(DatatypeFeature... features)
Method for constructing a new reader instance that is configured with specified features enabled.ObjectWriter
ObjectWriter. withFeatures(DatatypeFeature... features)
Method for constructing a new instance that is configured with specified features enabled.ObjectReader
ObjectReader. without(DatatypeFeature feature)
Method for constructing a new reader instance that is configured with specified feature disabled.ObjectWriter
ObjectWriter. without(DatatypeFeature feature)
Method for constructing a new instance that is configured with specified feature disabled.ObjectReader
ObjectReader. withoutFeatures(DatatypeFeature... features)
Method for constructing a new reader instance that is configured with specified features disabled.ObjectWriter
ObjectWriter. withoutFeatures(DatatypeFeature... features)
Method for constructing a new instance that is configured with specified features disabled. -
Uses of DatatypeFeature in com.fasterxml.jackson.databind.cfg
Classes in com.fasterxml.jackson.databind.cfg that implement DatatypeFeature Modifier and Type Class Description class
EnumFeature
New Datatype-specific configuration options related to handling ofEnum
types.class
JsonNodeFeature
New Datatype-specific configuration options related to handling ofJsonNode
types.Methods in com.fasterxml.jackson.databind.cfg with parameters of type DatatypeFeature Modifier and Type Method Description B
MapperBuilder. configure(DatatypeFeature feature, boolean state)
B
MapperBuilder. disable(DatatypeFeature... features)
B
MapperBuilder. enable(DatatypeFeature... features)
java.lang.Boolean
DatatypeFeatures. getExplicitState(DatatypeFeature f)
Accessor for getting explicit state of given feature in this set iff explicitly set, ornull
if not explicitly set (default value)boolean
DatatypeFeatures. isEnabled(DatatypeFeature f)
Accessor for getting value of specified feature in this set, regardless of whether explicit defined or not (if not explicitly enabled/disabled returns default value,JacksonFeature.enabledByDefault()
.abstract boolean
MapperConfig. isEnabled(DatatypeFeature feature)
Accessor for checking whether giveDatatypeFeature
is enabled or not.boolean
DatatypeFeatures. isExplicitlyDisabled(DatatypeFeature f)
Convenience method equivalent to:boolean
DatatypeFeatures. isExplicitlyEnabled(DatatypeFeature f)
Convenience method equivalent to:boolean
DatatypeFeatures. isExplicitlySet(DatatypeFeature f)
Accessor for checking whether given feature has been explicitly enabled or disabled in this set or not: if not it has the default value.DatatypeFeatures
DatatypeFeatures. with(DatatypeFeature f)
Mutant factory method that returns an instance with given Feature explicitly enabled.T
MapperConfigBase. with(DatatypeFeature feature)
Fluent factory method that will return a configuration object instance with specified feature enabled: this may bethis
instance (if no changes effected), or a newly constructed instance.T
MapperConfigBase. with(DatatypeFeature feature, boolean state)
Fluent factory method that will construct and return a new configuration object instance with specified features disabled.DatatypeFeatures
DatatypeFeatures. withFeatures(DatatypeFeature... features)
"Bulk" variant ofDatatypeFeatures.with(DatatypeFeature)
which allows explicit enabling of multiple featuresT
MapperConfigBase. withFeatures(DatatypeFeature... features)
Fluent factory method that will return a configuration object instance with specified features enabled: this may bethis
instance (if no changes effected), or a newly constructed instance.DatatypeFeatures
DatatypeFeatures. without(DatatypeFeature f)
Mutant factory method that returns an instance with given Feature explicitly disabled.T
MapperConfigBase. without(DatatypeFeature feature)
Fluent factory method that will return a configuration object instance with specified feature disabled: this may bethis
instance (if no changes effected), or a newly constructed instance.DatatypeFeatures
DatatypeFeatures. withoutFeatures(DatatypeFeature... features)
"Bulk" variant ofDatatypeFeatures.without(DatatypeFeature)
which allows explicit disabling of multiple featuresT
MapperConfigBase. withoutFeatures(DatatypeFeature... features)
Fluent factory method that will return a configuration object instance with specified features disabled: this may bethis
instance (if no changes effected), or a newly constructed instance.
-