Uses of Class
edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.SerializationConfig
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 (
edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind
).Contains extended support for "external" packages: things that
may or may not be present in runtime environment, but that are
commonly enough used so that explicit support can be added.
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
Package that contains interfaces that define how to implement
functionality for dynamically resolving type during deserialization.
Package that contains standard implementations for
TypeResolverBuilder
and
TypeIdResolver
.Package that contains classes and interfaces to help implement
custom extension
Module
s
(which are registered using
ObjectMapper.registerModule(edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.Module)
.Contains implementation classes of serialization part of
data binding.
Utility classes for Mapper package.
-
Uses of SerializationConfig in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind
Modifier and TypeFieldDescriptionprotected final SerializationConfig
ObjectWriter._config
General serialization configuration settingsprotected final SerializationConfig
SequenceWriter._config
protected final SerializationConfig
SerializerProvider._config
Serialization configuration to use for serialization processing.protected SerializationConfig
ObjectMapper._serializationConfig
Configuration object that defines basic global settings for the serialization processModifier and TypeMethodDescriptionprotected final SerializationConfig
SerializationConfig._with
(DatatypeFeatures dtFeatures) protected final SerializationConfig
SerializationConfig._withBase
(BaseSettings newBase) protected final SerializationConfig
SerializationConfig._withMapperFeatures
(long mapperFeatures) ObjectWriter.getConfig()
final SerializationConfig
SerializerProvider.getConfig()
Method for accessing configuration for the serialization processing.ObjectMapper.getSerializationConfig()
Method that returns the shared defaultSerializationConfig
object that defines configuration settings for serialization.SerializationConfig.with
(FormatFeature feature) Fluent factory method that will construct and return a new configuration object instance with specified feature enabled.SerializationConfig.with
(JsonGenerator.Feature feature) Fluent factory method that will construct and return a new configuration object instance with specified feature enabled.SerializationConfig.with
(ContextAttributes attrs) SerializationConfig.with
(SubtypeResolver str) SerializationConfig.with
(SerializationFeature feature) Fluent factory method that will construct and return a new configuration object instance with specified feature enabled.SerializationConfig.with
(SerializationFeature first, SerializationFeature... features) Fluent factory method that will construct and return a new configuration object instance with specified features enabled.SerializationConfig.with
(DateFormat df) In addition to constructing instance with specified date format, will enable or disableSerializationFeature.WRITE_DATES_AS_TIMESTAMPS
(enable if format set as null; disable if non-null)SerializationConfig.withDefaultPrettyPrinter
(PrettyPrinter pp) SerializationConfig.withFeatures
(FormatFeature... features) Fluent factory method that will construct and return a new configuration object instance with specified features enabled.SerializationConfig.withFeatures
(JsonGenerator.Feature... features) Fluent factory method that will construct and return a new configuration object instance with specified features enabled.SerializationConfig.withFeatures
(SerializationFeature... features) Fluent factory method that will construct and return a new configuration object instance with specified features enabled.SerializationConfig.withFilters
(FilterProvider filterProvider) SerializationConfig.without
(FormatFeature feature) Fluent factory method that will construct and return a new configuration object instance with specified feature disabled.SerializationConfig.without
(JsonGenerator.Feature feature) Fluent factory method that will construct and return a new configuration object instance with specified feature disabled.SerializationConfig.without
(SerializationFeature feature) Fluent factory method that will construct and return a new configuration object instance with specified feature disabled.SerializationConfig.without
(SerializationFeature first, SerializationFeature... features) Fluent factory method that will construct and return a new configuration object instance with specified features disabled.SerializationConfig.withoutFeatures
(FormatFeature... features) Fluent factory method that will construct and return a new configuration object instance with specified features disabled.SerializationConfig.withoutFeatures
(JsonGenerator.Feature... features) Fluent factory method that will construct and return a new configuration object instance with specified features disabled.SerializationConfig.withoutFeatures
(SerializationFeature... features) Fluent factory method that will construct and return a new configuration object instance with specified features disabled.SerializationConfig.withPropertyInclusion
(JsonInclude.Value incl) Deprecated.Since 2.9; not needed any moreSerializationConfig.withRootName
(PropertyName rootName) Modifier and TypeMethodDescriptionprotected ObjectWriter
ObjectWriter._new
(ObjectWriter base, SerializationConfig config) Overridable factory method called by various "withXxx()" methodsprotected ObjectWriter
ObjectMapper._newWriter
(SerializationConfig config) Factory method sub-classes must override, to produceObjectWriter
instances of proper sub-typeprotected ObjectWriter
ObjectMapper._newWriter
(SerializationConfig config, FormatSchema schema) Factory method sub-classes must override, to produceObjectWriter
instances of proper sub-typeprotected ObjectWriter
ObjectMapper._newWriter
(SerializationConfig config, JavaType rootType, PrettyPrinter pp) Factory method sub-classes must override, to produceObjectWriter
instances of proper sub-typeprotected DefaultSerializerProvider
ObjectMapper._serializerProvider
(SerializationConfig config) Overridable helper method used for constructingSerializerProvider
to use for serialization.ObjectMapper.DefaultTypeResolverBuilder.buildTypeSerializer
(SerializationConfig config, JavaType baseType, Collection<NamedType> subtypes) ObjectMapper.setConfig
(SerializationConfig config) Method that allows overriding of the underlyingSerializationConfig
object, which contains serialization-specific configuration settings.ModifierConstructorDescriptionprotected
ObjectWriter
(ObjectMapper mapper, SerializationConfig config) Alternative constructor for initial instantiation byObjectMapper
protected
ObjectWriter
(ObjectMapper mapper, SerializationConfig config, FormatSchema s) Alternative constructor for initial instantiation byObjectMapper
protected
ObjectWriter
(ObjectMapper mapper, SerializationConfig config, JavaType rootType, PrettyPrinter pp) Constructor used byObjectMapper
for initial instantiationprotected
ObjectWriter
(ObjectWriter base, SerializationConfig config) Copy constructor used for building variations.protected
ObjectWriter
(ObjectWriter base, SerializationConfig config, ObjectWriter.GeneratorSettings genSettings, ObjectWriter.Prefetch prefetch) Copy constructor used for building variations.protected
SerializationConfig
(SerializationConfig src, PrettyPrinter defaultPP) protected
SerializationConfig
(SerializationConfig src, ContextAttributes attrs) protected
SerializationConfig
(SerializationConfig src, DatatypeFeatures dtFeatures) protected
SerializationConfig
(SerializationConfig src, SimpleMixInResolver mixins) protected
SerializationConfig
(SerializationConfig src, SubtypeResolver str, SimpleMixInResolver mixins, RootNameLookup rootNames, ConfigOverrides configOverrides) Copy-constructor used for making a copy to be used by newObjectMapper
.protected
SerializerProvider
(SerializerProvider src, SerializationConfig config, SerializerFactory f) "Copy-constructor", used by sub-classes when creating actual non-blueprint instances to use. -
Uses of SerializationConfig in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.cfg
Modifier and TypeMethodDescriptionHandlerInstantiator.includeFilterInstance
(SerializationConfig config, BeanPropertyDefinition forProperty, Class<?> filterClass) Method called to construct a Filter (any Object with implementation ofequals(Object)
that determines if given value is to be excluded (true) or included (false)) to be used based onJsonInclude
annotation (or equivalent).abstract JsonSerializer<?>
HandlerInstantiator.serializerInstance
(SerializationConfig config, Annotated annotated, Class<?> serClass) Method called to get an instance of serializer of specified type. -
Uses of SerializationConfig in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.ext
Modifier and TypeMethodDescriptionCoreXMLSerializers.findSerializer
(SerializationConfig config, JavaType type, BeanDescription beanDesc) OptionalHandlerFactory.findSerializer
(SerializationConfig config, JavaType type, BeanDescription beanDesc) -
Uses of SerializationConfig in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.introspect
Modifier and TypeMethodDescriptionBasicClassIntrospector.forSerialization
(SerializationConfig config, JavaType type, ClassIntrospector.MixInResolver r) abstract BeanDescription
ClassIntrospector.forSerialization
(SerializationConfig cfg, JavaType type, ClassIntrospector.MixInResolver r) Factory method that constructs an introspector that has all information needed for serialization purposes. -
Uses of SerializationConfig in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.jsontype
Modifier and TypeMethodDescriptionTypeResolverBuilder.buildTypeSerializer
(SerializationConfig config, JavaType baseType, Collection<NamedType> subtypes) Method for building type serializer based on current configuration of this builder. -
Uses of SerializationConfig in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.jsontype.impl
Modifier and TypeMethodDescriptionStdTypeResolverBuilder.buildTypeSerializer
(SerializationConfig config, JavaType baseType, Collection<NamedType> subtypes) -
Uses of SerializationConfig in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.module
Modifier and TypeMethodDescriptionSimpleSerializers.findArraySerializer
(SerializationConfig config, ArrayType type, BeanDescription beanDesc, TypeSerializer elementTypeSerializer, JsonSerializer<Object> elementValueSerializer) SimpleSerializers.findCollectionLikeSerializer
(SerializationConfig config, CollectionLikeType type, BeanDescription beanDesc, TypeSerializer elementTypeSerializer, JsonSerializer<Object> elementValueSerializer) SimpleSerializers.findCollectionSerializer
(SerializationConfig config, CollectionType type, BeanDescription beanDesc, TypeSerializer elementTypeSerializer, JsonSerializer<Object> elementValueSerializer) SimpleSerializers.findMapLikeSerializer
(SerializationConfig config, MapLikeType type, BeanDescription beanDesc, JsonSerializer<Object> keySerializer, TypeSerializer elementTypeSerializer, JsonSerializer<Object> elementValueSerializer) SimpleSerializers.findMapSerializer
(SerializationConfig config, MapType type, BeanDescription beanDesc, JsonSerializer<Object> keySerializer, TypeSerializer elementTypeSerializer, JsonSerializer<Object> elementValueSerializer) SimpleSerializers.findSerializer
(SerializationConfig config, JavaType type, BeanDescription beanDesc) -
Uses of SerializationConfig in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.ser
Modifier and TypeFieldDescriptionprotected SerializationConfig
BeanSerializerBuilder._config
protected final SerializationConfig
PropertyBuilder._config
Modifier and TypeMethodDescriptionprotected JsonSerializer<?>
BasicSerializerFactory.buildEnumSerializer
(SerializationConfig config, JavaType type, BeanDescription beanDesc) protected JsonSerializer<?>
BasicSerializerFactory.buildIterableSerializer
(SerializationConfig config, JavaType type, BeanDescription beanDesc, boolean staticTyping, JavaType valueType) protected JsonSerializer<?>
BasicSerializerFactory.buildIteratorSerializer
(SerializationConfig config, JavaType type, BeanDescription beanDesc, boolean staticTyping, JavaType valueType) BeanSerializerModifier.changeProperties
(SerializationConfig config, BeanDescription beanDesc, List<BeanPropertyWriter> beanProperties) Method called byBeanSerializerFactory
with tentative set of discovered properties.protected PropertyBuilder
BeanSerializerFactory.constructPropertyBuilder
(SerializationConfig config, BeanDescription beanDesc) abstract DefaultSerializerProvider
DefaultSerializerProvider.createInstance
(SerializationConfig config, SerializerFactory jsf) Method that sub-classes need to implement: used to create a non-blueprint instances from the blueprint.DefaultSerializerProvider.Impl.createInstance
(SerializationConfig config, SerializerFactory jsf) BasicSerializerFactory.createKeySerializer
(SerializationConfig config, JavaType keyType, JsonSerializer<Object> defaultImpl) Deprecated.abstract JsonSerializer<Object>
SerializerFactory.createKeySerializer
(SerializationConfig config, JavaType type, JsonSerializer<Object> defaultImpl) Deprecated.BasicSerializerFactory.createTypeSerializer
(SerializationConfig config, JavaType baseType) Method called to construct a type serializer for values with given declared base type.abstract TypeSerializer
SerializerFactory.createTypeSerializer
(SerializationConfig config, JavaType baseType) Method called to create a type information serializer for given base type, if one is needed.protected List<BeanPropertyWriter>
BeanSerializerFactory.filterBeanProperties
(SerializationConfig config, BeanDescription beanDesc, List<BeanPropertyWriter> props) Overridable method that can filter out properties.protected List<BeanPropertyWriter>
BeanSerializerFactory.filterUnwantedJDKProperties
(SerializationConfig config, BeanDescription beanDesc, List<BeanPropertyWriter> props) Overridable method used to filter out specifically problematic JDK provided properties.Serializers.Base.findArraySerializer
(SerializationConfig config, ArrayType type, BeanDescription beanDesc, TypeSerializer elementTypeSerializer, JsonSerializer<Object> elementValueSerializer) Serializers.findArraySerializer
(SerializationConfig config, ArrayType type, BeanDescription beanDesc, TypeSerializer elementTypeSerializer, JsonSerializer<Object> elementValueSerializer) Method called by serialization framework first time a serializer is needed for specified array type.Serializers.Base.findCollectionLikeSerializer
(SerializationConfig config, CollectionLikeType type, BeanDescription beanDesc, TypeSerializer elementTypeSerializer, JsonSerializer<Object> elementValueSerializer) Serializers.findCollectionLikeSerializer
(SerializationConfig config, CollectionLikeType type, BeanDescription beanDesc, TypeSerializer elementTypeSerializer, JsonSerializer<Object> elementValueSerializer) Method called by serialization framework first time a serializer is needed for specified "Collection-like" type (type that acts likeCollection
, but does not implement it).Serializers.Base.findCollectionSerializer
(SerializationConfig config, CollectionType type, BeanDescription beanDesc, TypeSerializer elementTypeSerializer, JsonSerializer<Object> elementValueSerializer) Serializers.findCollectionSerializer
(SerializationConfig config, CollectionType type, BeanDescription beanDesc, TypeSerializer elementTypeSerializer, JsonSerializer<Object> elementValueSerializer) Method called by serialization framework first time a serializer is needed for specifiedCollection
type.protected Object
BasicSerializerFactory.findFilterId
(SerializationConfig config, BeanDescription beanDesc) Method called to find filter that is configured to be used with bean serializer being built, if any.Serializers.Base.findMapLikeSerializer
(SerializationConfig config, MapLikeType type, BeanDescription beanDesc, JsonSerializer<Object> keySerializer, TypeSerializer elementTypeSerializer, JsonSerializer<Object> elementValueSerializer) Serializers.findMapLikeSerializer
(SerializationConfig config, MapLikeType type, BeanDescription beanDesc, JsonSerializer<Object> keySerializer, TypeSerializer elementTypeSerializer, JsonSerializer<Object> elementValueSerializer) Method called by serialization framework first time a serializer is needed for specified "Map-like" type (type that acts likeMap
, but does not implement it).Serializers.Base.findMapSerializer
(SerializationConfig config, MapType type, BeanDescription beanDesc, JsonSerializer<Object> keySerializer, TypeSerializer elementTypeSerializer, JsonSerializer<Object> elementValueSerializer) Serializers.findMapSerializer
(SerializationConfig config, MapType type, BeanDescription beanDesc, JsonSerializer<Object> keySerializer, TypeSerializer elementTypeSerializer, JsonSerializer<Object> elementValueSerializer) Method called by serialization framework first time a serializer is needed for specifiedMap
type.BeanSerializerFactory.findPropertyContentTypeSerializer
(JavaType containerType, SerializationConfig config, AnnotatedMember accessor) Method called to create a type information serializer for values of given container property if one is needed.BeanSerializerFactory.findPropertyTypeSerializer
(JavaType baseType, SerializationConfig config, AnnotatedMember accessor) Method called to create a type information serializer for values of given non-container property if one is needed.Serializers.Base.findReferenceSerializer
(SerializationConfig config, ReferenceType type, BeanDescription beanDesc, TypeSerializer contentTypeSerializer, JsonSerializer<Object> contentValueSerializer) Serializers.findReferenceSerializer
(SerializationConfig config, ReferenceType type, BeanDescription beanDesc, TypeSerializer contentTypeSerializer, JsonSerializer<Object> contentValueSerializer) Method called by serialization framework first time a serializer is needed for givenReferenceType
Serializers.Base.findSerializer
(SerializationConfig config, JavaType type, BeanDescription beanDesc) Serializers.findSerializer
(SerializationConfig config, JavaType type, BeanDescription beanDesc) Method called by serialization framework first time a serializer is needed for specified type, which is not of a container or reference type (for which other methods are called).protected final JsonSerializer<?>
BasicSerializerFactory.findSerializerByAddonType
(SerializationConfig config, JavaType javaType, BeanDescription beanDesc, boolean staticTyping) Reflection-based serialized find method, which checks if given class implements one of recognized "add-on" interfaces.protected final JsonSerializer<?>
BasicSerializerFactory.findSerializerByLookup
(JavaType type, SerializationConfig config, BeanDescription beanDesc, boolean staticTyping) Method that will use fast lookup (and identity comparison) methods to see if we know serializer to use for given type.void
AnyGetterWriter.fixAccess
(SerializationConfig config) void
BeanPropertyWriter.fixAccess
(SerializationConfig config) Method called to ensure that the mutator has proper access rights to be called, as per configuration.BeanSerializerModifier.modifyArraySerializer
(SerializationConfig config, ArrayType valueType, BeanDescription beanDesc, JsonSerializer<?> serializer) Method called byDeserializerFactory
after it has constructed the standard serializer for givenArrayType
to make it possible to either replace or augment this serializer with additional functionality.BeanSerializerModifier.modifyCollectionLikeSerializer
(SerializationConfig config, CollectionLikeType valueType, BeanDescription beanDesc, JsonSerializer<?> serializer) BeanSerializerModifier.modifyCollectionSerializer
(SerializationConfig config, CollectionType valueType, BeanDescription beanDesc, JsonSerializer<?> serializer) BeanSerializerModifier.modifyEnumSerializer
(SerializationConfig config, JavaType valueType, BeanDescription beanDesc, JsonSerializer<?> serializer) BeanSerializerModifier.modifyKeySerializer
(SerializationConfig config, JavaType valueType, BeanDescription beanDesc, JsonSerializer<?> serializer) Method called byDeserializerFactory
after it has constructed the default key serializer to use for serializingMap
keys of given type.BeanSerializerModifier.modifyMapLikeSerializer
(SerializationConfig config, MapLikeType valueType, BeanDescription beanDesc, JsonSerializer<?> serializer) BeanSerializerModifier.modifyMapSerializer
(SerializationConfig config, MapType valueType, BeanDescription beanDesc, JsonSerializer<?> serializer) BeanSerializerModifier.modifySerializer
(SerializationConfig config, BeanDescription beanDesc, JsonSerializer<?> serializer) Method called byBeanSerializerFactory
after constructing default bean serializer instance with properties collected and ordered earlier.BeanSerializerModifier.orderProperties
(SerializationConfig config, BeanDescription beanDesc, List<BeanPropertyWriter> beanProperties) Method called byBeanSerializerFactory
with set of properties to serialize, in default ordering (based on defaults as well as possible type annotations).protected void
BeanSerializerFactory.processViews
(SerializationConfig config, BeanSerializerBuilder builder) Method called to handle view information for constructed serializer, based on bean property writers.protected void
BeanSerializerFactory.removeIgnorableTypes
(SerializationConfig config, BeanDescription beanDesc, List<BeanPropertyDefinition> properties) Method that will apply by-type limitations (as per [JACKSON-429]); by default this is based onJsonIgnoreType
annotation but can be supplied by module-provided introspectors too.protected void
BeanSerializerFactory.removeSetterlessGetters
(SerializationConfig config, BeanDescription beanDesc, List<BeanPropertyDefinition> properties) Helper method that will remove all properties that do not have a mutator.protected void
BeanSerializerBuilder.setConfig
(SerializationConfig config) Initialization method called right after construction, to specify configuration to use.BeanSerializerModifier.updateBuilder
(SerializationConfig config, BeanDescription beanDesc, BeanSerializerBuilder builder) Method called byBeanSerializerFactory
after collecting all information regarding POJO to serialize and updating builder with it, but before constructing serializer.protected boolean
BasicSerializerFactory.usesStaticTyping
(SerializationConfig config, BeanDescription beanDesc, TypeSerializer typeSer) Helper method to check whether global settings and/or class annotations for the bean class indicate that static typing (declared types) should be used for properties.ModifierConstructorDescriptionprotected
protected
Impl
(SerializerProvider src, SerializationConfig config, SerializerFactory f) PropertyBuilder
(SerializationConfig config, BeanDescription beanDesc) -
Uses of SerializationConfig in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.ser.std
Modifier and TypeMethodDescriptionstatic EnumSerializer
EnumSerializer.construct
(Class<?> enumClass, SerializationConfig config, BeanDescription beanDesc, JsonFormat.Value format) Factory method used byBasicSerializerFactory
for constructing serializer instance of Enum types.static JsonSerializer<Object>
StdKeySerializers.getFallbackKeySerializer
(SerializationConfig config, Class<?> rawKeyType) Method called if no specified key serializer was located; will return a "default" key serializer.static JsonSerializer<Object>
StdKeySerializers.getStdKeySerializer
(SerializationConfig config, Class<?> rawKeyType, boolean useDefault) -
Uses of SerializationConfig in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.util
Modifier and TypeMethodDescriptionstatic EnumValues
EnumValues.construct
(SerializationConfig config, Class<Enum<?>> enumClass) NOTE: do NOT call this if configuration may change, and choice between toString() and name() might change dynamically.