|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SerializationConfig | |
---|---|
com.fasterxml.jackson.databind | Contains basic mapper (conversion) functionality that
allows for converting between regular streaming json content and
Java objects (beans or Tree Model: support for both is via
ObjectMapper class, as well
as convenience methods included in
JsonParser |
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 ). |
com.fasterxml.jackson.databind.ext | 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. |
com.fasterxml.jackson.databind.introspect | Functionality needed for Bean introspection, required for detecting accessors and mutators for Beans, as well as locating and handling method annotations. |
com.fasterxml.jackson.databind.jsontype | Package that contains interfaces that define how to implement functionality for dynamically resolving type during deserialization. |
com.fasterxml.jackson.databind.jsontype.impl | Package that contains standard implementations for
TypeResolverBuilder
and
TypeIdResolver . |
com.fasterxml.jackson.databind.module | Package that contains classes and interfaces to help implement
custom extension Module s
(which are registered using
ObjectMapper.registerModule(com.fasterxml.jackson.databind.Module) . |
com.fasterxml.jackson.databind.ser | Contains implementation classes of serialization part of data binding. |
com.fasterxml.jackson.databind.ser.std |
Uses of SerializationConfig in com.fasterxml.jackson.databind |
---|
Fields in com.fasterxml.jackson.databind declared as SerializationConfig | |
---|---|
protected SerializationConfig |
SerializerProvider._config
Serialization configuration to use for serialization processing. |
protected SerializationConfig |
ObjectWriter._config
General serialization configuration settings |
protected SerializationConfig |
ObjectMapper._serializationConfig
Configuration object that defines basic global settings for the serialization process |
Methods in com.fasterxml.jackson.databind that return SerializationConfig | |
---|---|
SerializationConfig |
SerializerProvider.getConfig()
Method for accessing configuration for the serialization processing. |
SerializationConfig |
ObjectMapper.getSerializationConfig()
Method that returns the shared default SerializationConfig
object that defines configuration settings for serialization. |
SerializationConfig |
SerializationConfig.with(AnnotationIntrospector ai)
|
SerializationConfig |
SerializationConfig.with(ClassIntrospector ci)
|
SerializationConfig |
SerializationConfig.with(DateFormat df)
In addition to constructing instance with specified date format, will enable or disable SerializationFeature.WRITE_DATES_AS_TIMESTAMPS
(enable if format set as null; disable if non-null) |
SerializationConfig |
SerializationConfig.with(HandlerInstantiator hi)
|
SerializationConfig |
SerializationConfig.with(Locale l)
|
SerializationConfig |
SerializationConfig.with(MapperFeature... features)
Fluent factory method that will construct and return a new configuration object instance with specified features enabled. |
SerializationConfig |
SerializationConfig.with(PropertyNamingStrategy pns)
|
SerializationConfig |
SerializationConfig.with(SerializationFeature feature)
Fluent factory method that will construct and return a new configuration object instance with specified feature enabled. |
SerializationConfig |
SerializationConfig.with(SerializationFeature first,
SerializationFeature... features)
Fluent factory method that will construct and return a new configuration object instance with specified features enabled. |
SerializationConfig |
SerializationConfig.with(SubtypeResolver str)
|
SerializationConfig |
SerializationConfig.with(TimeZone tz)
|
SerializationConfig |
SerializationConfig.with(TypeFactory tf)
|
SerializationConfig |
SerializationConfig.with(TypeResolverBuilder<?> trb)
|
SerializationConfig |
SerializationConfig.with(VisibilityChecker<?> vc)
|
SerializationConfig |
SerializationConfig.withAppendedAnnotationIntrospector(AnnotationIntrospector ai)
|
SerializationConfig |
SerializationConfig.withFeatures(SerializationFeature... features)
Fluent factory method that will construct and return a new configuration object instance with specified features enabled. |
SerializationConfig |
SerializationConfig.withFilters(FilterProvider filterProvider)
|
SerializationConfig |
SerializationConfig.withInsertedAnnotationIntrospector(AnnotationIntrospector ai)
|
SerializationConfig |
SerializationConfig.without(MapperFeature... features)
Fluent factory method that will construct and return a new configuration object instance with specified features disabled. |
SerializationConfig |
SerializationConfig.without(SerializationFeature feature)
Fluent factory method that will construct and return a new configuration object instance with specified feature disabled. |
SerializationConfig |
SerializationConfig.without(SerializationFeature first,
SerializationFeature... features)
Fluent factory method that will construct and return a new configuration object instance with specified features disabled. |
SerializationConfig |
SerializationConfig.withoutFeatures(SerializationFeature... features)
Fluent factory method that will construct and return a new configuration object instance with specified features disabled. |
SerializationConfig |
SerializationConfig.withRootName(String rootName)
|
SerializationConfig |
SerializationConfig.withSerializationInclusion(com.fasterxml.jackson.annotation.JsonInclude.Include incl)
|
SerializationConfig |
SerializationConfig.withView(Class<?> view)
|
SerializationConfig |
SerializationConfig.withVisibility(com.fasterxml.jackson.annotation.PropertyAccessor forMethod,
com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility visibility)
|
Methods in com.fasterxml.jackson.databind with parameters of type SerializationConfig | |
---|---|
protected DefaultSerializerProvider |
ObjectWriter._serializerProvider(SerializationConfig config)
Overridable helper method used for constructing SerializerProvider to use for serialization. |
protected DefaultSerializerProvider |
ObjectMapper._serializerProvider(SerializationConfig config)
Overridable helper method used for constructing SerializerProvider to use for serialization. |
TypeSerializer |
ObjectMapper.DefaultTypeResolverBuilder.buildTypeSerializer(SerializationConfig config,
JavaType baseType,
Collection<NamedType> subtypes)
|
Constructors in com.fasterxml.jackson.databind with parameters of type SerializationConfig | |
---|---|
ObjectWriter(ObjectMapper mapper,
SerializationConfig config)
Alternative constructor for initial instantiation. |
|
ObjectWriter(ObjectMapper mapper,
SerializationConfig config,
com.fasterxml.jackson.core.FormatSchema s)
Alternative constructor for initial instantiation. |
|
ObjectWriter(ObjectMapper mapper,
SerializationConfig config,
JavaType rootType,
com.fasterxml.jackson.core.PrettyPrinter pp)
Constructor used by ObjectMapper for initial instantiation |
|
ObjectWriter(ObjectWriter base,
SerializationConfig config)
Copy constructor used for building variations. |
|
ObjectWriter(ObjectWriter base,
SerializationConfig config,
JavaType rootType,
com.fasterxml.jackson.core.PrettyPrinter pp,
com.fasterxml.jackson.core.FormatSchema s)
Copy constructor used for building variations. |
|
SerializerProvider(SerializerProvider src,
SerializationConfig config,
SerializerFactory f)
"Copy-constructor", used by sub-classes. |
Uses of SerializationConfig in com.fasterxml.jackson.databind.cfg |
---|
Methods in com.fasterxml.jackson.databind.cfg with parameters of type SerializationConfig | |
---|---|
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 com.fasterxml.jackson.databind.ext |
---|
Methods in com.fasterxml.jackson.databind.ext with parameters of type SerializationConfig | |
---|---|
JsonSerializer<?> |
OptionalHandlerFactory.findSerializer(SerializationConfig config,
JavaType type)
|
Uses of SerializationConfig in com.fasterxml.jackson.databind.introspect |
---|
Methods in com.fasterxml.jackson.databind.introspect with parameters of type SerializationConfig | |
---|---|
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. |
BasicBeanDescription |
BasicClassIntrospector.forSerialization(SerializationConfig cfg,
JavaType type,
ClassIntrospector.MixInResolver r)
|
Uses of SerializationConfig in com.fasterxml.jackson.databind.jsontype |
---|
Methods in com.fasterxml.jackson.databind.jsontype with parameters of type SerializationConfig | |
---|---|
TypeSerializer |
TypeResolverBuilder.buildTypeSerializer(SerializationConfig config,
JavaType baseType,
Collection<NamedType> subtypes)
Method for building type serializer based on current configuration of this builder. |
Uses of SerializationConfig in com.fasterxml.jackson.databind.jsontype.impl |
---|
Methods in com.fasterxml.jackson.databind.jsontype.impl with parameters of type SerializationConfig | |
---|---|
TypeSerializer |
StdTypeResolverBuilder.buildTypeSerializer(SerializationConfig config,
JavaType baseType,
Collection<NamedType> subtypes)
|
Uses of SerializationConfig in com.fasterxml.jackson.databind.module |
---|
Uses of SerializationConfig in com.fasterxml.jackson.databind.ser |
---|
Fields in com.fasterxml.jackson.databind.ser declared as SerializationConfig | |
---|---|
protected SerializationConfig |
PropertyBuilder._config
|
Methods in com.fasterxml.jackson.databind.ser with parameters of type SerializationConfig | ||
---|---|---|
protected JsonSerializer<?> |
BasicSerializerFactory.buildArraySerializer(SerializationConfig config,
ArrayType type,
BeanDescription beanDesc,
boolean staticTyping,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer)
Helper method that handles configuration details when constructing serializers for Object[] (and subtypes, except for String). |
|
protected JsonSerializer<?> |
BasicSerializerFactory.buildCollectionSerializer(SerializationConfig config,
CollectionType type,
BeanDescription beanDesc,
BeanProperty property,
boolean staticTyping,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer)
Helper method that handles configuration details when constructing serializers for List types that support efficient by-index access |
|
protected JsonSerializer<?> |
BasicSerializerFactory.buildIterableSerializer(SerializationConfig config,
JavaType type,
BeanDescription beanDesc,
boolean staticTyping)
|
|
protected JsonSerializer<?> |
BasicSerializerFactory.buildIteratorSerializer(SerializationConfig config,
JavaType type,
BeanDescription beanDesc,
boolean staticTyping)
|
|
protected JsonSerializer<?> |
BasicSerializerFactory.buildMapSerializer(SerializationConfig config,
MapType type,
BeanDescription beanDesc,
boolean staticTyping,
JsonSerializer<Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer)
Helper method that handles configuration details when constructing serializers for Map types. |
|
List<BeanPropertyWriter> |
BeanSerializerModifier.changeProperties(SerializationConfig config,
BeanDescription beanDesc,
List<BeanPropertyWriter> beanProperties)
Method called by BeanSerializerFactory with tentative set
of discovered properties. |
|
protected PropertyBuilder |
BeanSerializerFactory.constructPropertyBuilder(SerializationConfig config,
BeanDescription beanDesc)
|
|
abstract DefaultSerializerProvider |
DefaultSerializerProvider.createInstance(SerializationConfig config,
SerializerFactory jsf)
Overridable method, used to create a non-blueprint instances from the blueprint. |
|
DefaultSerializerProvider.Impl |
DefaultSerializerProvider.Impl.createInstance(SerializationConfig config,
SerializerFactory jsf)
|
|
abstract JsonSerializer<Object> |
SerializerFactory.createKeySerializer(SerializationConfig config,
JavaType baseType)
Method called to create serializer to use for serializing JSON property names (which must be output as JsonToken.FIELD_NAME ) for Map that has specified declared
key type, and is for specified property (or, if property is null, as root value) |
|
JsonSerializer<Object> |
BasicSerializerFactory.createKeySerializer(SerializationConfig config,
JavaType 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. |
|
TypeSerializer |
BasicSerializerFactory.createTypeSerializer(SerializationConfig config,
JavaType baseType)
Method called to construct a type serializer for values with given declared base type. |
|
protected List<BeanPropertyWriter> |
BeanSerializerFactory.filterBeanProperties(SerializationConfig config,
BeanDescription beanDesc,
List<BeanPropertyWriter> props)
Overridable method that can filter out properties. |
|
JsonSerializer<?> |
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. |
|
JsonSerializer<?> |
Serializers.Base.findArraySerializer(SerializationConfig config,
ArrayType type,
BeanDescription beanDesc,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer)
|
|
JsonSerializer<?> |
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 like Collection ,
but does not implement it). |
|
JsonSerializer<?> |
Serializers.Base.findCollectionLikeSerializer(SerializationConfig config,
CollectionLikeType type,
BeanDescription beanDesc,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer)
|
|
JsonSerializer<?> |
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 specified Collection type. |
|
JsonSerializer<?> |
Serializers.Base.findCollectionSerializer(SerializationConfig config,
CollectionType type,
BeanDescription beanDesc,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer)
|
|
protected Object |
BeanSerializerFactory.findFilterId(SerializationConfig config,
BeanDescription beanDesc)
Method called to find filter that is configured to be used with bean serializer being built, if any. |
|
JsonSerializer<?> |
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 like Map ,
but does not implement it). |
|
JsonSerializer<?> |
Serializers.Base.findMapLikeSerializer(SerializationConfig config,
MapLikeType type,
BeanDescription beanDesc,
JsonSerializer<Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer)
|
|
JsonSerializer<?> |
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 specified Map type. |
|
JsonSerializer<?> |
Serializers.Base.findMapSerializer(SerializationConfig config,
MapType type,
BeanDescription beanDesc,
JsonSerializer<Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer)
|
|
TypeSerializer |
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. |
|
TypeSerializer |
BeanSerializerFactory.findPropertyTypeSerializer(JavaType baseType,
SerializationConfig config,
AnnotatedMember accessor,
BeanProperty property)
Method called to create a type information serializer for values of given non-container property if one is needed. |
|
JsonSerializer<?> |
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 type (for which other methods are called). |
|
JsonSerializer<?> |
Serializers.Base.findSerializer(SerializationConfig config,
JavaType type,
BeanDescription beanDesc)
|
|
protected 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 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. |
|
protected static
|
BasicSerializerFactory.modifySecondaryTypesByAnnotation(SerializationConfig config,
Annotated a,
T type)
|
|
JsonSerializer<?> |
BeanSerializerModifier.modifySerializer(SerializationConfig config,
BeanDescription beanDesc,
JsonSerializer<?> serializer)
Method called by BeanSerializerFactory after constructing default
bean serializer instance with properties collected and ordered earlier. |
|
protected
|
BasicSerializerFactory.modifyTypeByAnnotation(SerializationConfig config,
Annotated a,
T type)
Helper method used to encapsulate details of annotation-based type coercion |
|
List<BeanPropertyWriter> |
BeanSerializerModifier.orderProperties(SerializationConfig config,
BeanDescription beanDesc,
List<BeanPropertyWriter> beanProperties)
Method called by BeanSerializerFactory 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 on JsonIgnoreType 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. |
|
BeanSerializerBuilder |
BeanSerializerModifier.updateBuilder(SerializationConfig config,
BeanDescription beanDesc,
BeanSerializerBuilder builder)
Method called by BeanSerializerFactory 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,
BeanProperty property)
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. |
Constructors in com.fasterxml.jackson.databind.ser with parameters of type SerializationConfig | |
---|---|
DefaultSerializerProvider.Impl(SerializerProvider src,
SerializationConfig config,
SerializerFactory f)
|
|
DefaultSerializerProvider(SerializerProvider src,
SerializationConfig config,
SerializerFactory f)
|
|
PropertyBuilder(SerializationConfig config,
BeanDescription beanDesc)
|
Uses of SerializationConfig in com.fasterxml.jackson.databind.ser.std |
---|
Methods in com.fasterxml.jackson.databind.ser.std with parameters of type SerializationConfig | |
---|---|
static EnumSerializer |
EnumSerializer.construct(Class<Enum<?>> enumClass,
SerializationConfig config,
BeanDescription beanDesc)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |