Uses of Class
org.codehaus.jackson.map.JsonSerializer
-
Packages that use JsonSerializer Package Description org.codehaus.jackson.map 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 viaObjectMapperclass, as well as convenience methods included inJsonParserorg.codehaus.jackson.map.annotate Annotations that directly depend on Mapper classes (not just Jackson core) and are used for configuring Data Mapping functionality.org.codehaus.jackson.map.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.org.codehaus.jackson.map.introspect Functionality needed for Bean introspection, required for detecting accessors and mutators for Beans, as well as locating and handling method annotations.org.codehaus.jackson.map.module Package that contains classes and interfaces to help implement custom extensionModules (which are registered usingObjectMapper.registerModule(org.codehaus.jackson.map.Module).org.codehaus.jackson.map.ser Contains implementation classes of serialization part of data binding.org.codehaus.jackson.map.ser.impl Contains implementation classes of serialization part of data binding.org.codehaus.jackson.map.ser.std org.codehaus.jackson.xc Package that contains XML Compatibility functionality for Jackson, such as handlers for JAXB annotations -
-
Uses of JsonSerializer in org.codehaus.jackson.map
Subclasses of JsonSerializer in org.codehaus.jackson.map Modifier and Type Class Description static classJsonSerializer.NoneThis marker class is only to be used with annotations, to indicate that no serializer is configured.Methods in org.codehaus.jackson.map that return JsonSerializer Modifier and Type Method Description JsonSerializer<T>ContextualSerializer. createContextual(SerializationConfig config, BeanProperty property)Method called to see if a different (or differently configured) serializer is needed to serialize values of specified property.abstract JsonSerializer<java.lang.Object>SerializerFactory. createKeySerializer(SerializationConfig config, JavaType baseType, BeanProperty property)Method called to create serializer to use for serializing JSON property names (which must be output asJsonToken.FIELD_NAME) for Map that has specified declared key type, and is for specified property (or, if property is null, as root value)abstract JsonSerializer<java.lang.Object>SerializerFactory. createSerializer(SerializationConfig config, JavaType baseType, BeanProperty property)Method called to create (or, for immutable serializers, reuse) a serializer for given type.JsonSerializer<java.lang.Object>SerializerFactory. createSerializer(JavaType type, SerializationConfig config)Deprecated.Since 1.7, call variant with more argumentsJsonSerializer<?>Serializers.Base. findArraySerializer(SerializationConfig config, ArrayType type, BeanDescription beanDesc, BeanProperty property, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)JsonSerializer<?>Serializers. findArraySerializer(SerializationConfig config, ArrayType type, BeanDescription beanDesc, BeanProperty property, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)Method called by serialization framework first time a serializer is needed for specified array type.JsonSerializer<?>Serializers.Base. findCollectionLikeSerializer(SerializationConfig config, CollectionLikeType type, BeanDescription beanDesc, BeanProperty property, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)JsonSerializer<?>Serializers. findCollectionLikeSerializer(SerializationConfig config, CollectionLikeType type, BeanDescription beanDesc, BeanProperty property, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)JsonSerializer<?>Serializers.Base. findCollectionSerializer(SerializationConfig config, CollectionType type, BeanDescription beanDesc, BeanProperty property, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)JsonSerializer<?>Serializers. findCollectionSerializer(SerializationConfig config, CollectionType type, BeanDescription beanDesc, BeanProperty property, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)abstract JsonSerializer<java.lang.Object>SerializerProvider. findKeySerializer(JavaType keyType, BeanProperty property)Method called to get the serializer to use for serializing non-null Map keys.JsonSerializer<?>Serializers.Base. findMapLikeSerializer(SerializationConfig config, MapLikeType type, BeanDescription beanDesc, BeanProperty property, JsonSerializer<java.lang.Object> keySerializer, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)JsonSerializer<?>Serializers. findMapLikeSerializer(SerializationConfig config, MapLikeType type, BeanDescription beanDesc, BeanProperty property, JsonSerializer<java.lang.Object> keySerializer, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)JsonSerializer<?>Serializers.Base. findMapSerializer(SerializationConfig config, MapType type, BeanDescription beanDesc, BeanProperty property, JsonSerializer<java.lang.Object> keySerializer, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)JsonSerializer<?>Serializers. findMapSerializer(SerializationConfig config, MapType type, BeanDescription beanDesc, BeanProperty property, JsonSerializer<java.lang.Object> keySerializer, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)JsonSerializer<?>Serializers.Base. findSerializer(SerializationConfig config, JavaType type, BeanDescription beanDesc, BeanProperty property)JsonSerializer<?>Serializers. findSerializer(SerializationConfig config, JavaType type, BeanDescription beanDesc, BeanProperty property)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<java.lang.Object>SerializerProvider. findTypedValueSerializer(java.lang.Class<?> valueType, boolean cache)Deprecated.As of version 1.7, use version that exposes property object instead of just its type (needed for contextual serializers)abstract JsonSerializer<java.lang.Object>SerializerProvider. findTypedValueSerializer(java.lang.Class<?> valueType, boolean cache, BeanProperty property)Method called to locate regular serializer, matching type serializer, and if both found, wrap them in a serializer that calls both in correct sequence.JsonSerializer<java.lang.Object>SerializerProvider. findTypedValueSerializer(JavaType valueType, boolean cache)Deprecated.As of version 1.7, use version that exposes property object instead of just its type (needed for contextual serializers)abstract JsonSerializer<java.lang.Object>SerializerProvider. findTypedValueSerializer(JavaType valueType, boolean cache, BeanProperty property)Method called to locate regular serializer, matching type serializer, and if both found, wrap them in a serializer that calls both in correct sequence.JsonSerializer<java.lang.Object>SerializerProvider. findValueSerializer(java.lang.Class<?> runtimeType)Deprecated.As of version 1.7, use version that exposes property object instead of just its type (needed for contextual serializers)abstract JsonSerializer<java.lang.Object>SerializerProvider. findValueSerializer(java.lang.Class<?> runtimeType, BeanProperty property)Method called to get hold of a serializer for a value of given type; or if no such serializer can be found, a default handler (which may do a best-effort generic serialization or just simply throw an exception when invoked).JsonSerializer<java.lang.Object>SerializerProvider. findValueSerializer(JavaType serializationType)Deprecated.As of version 1.7, use version that exposes property object instead of just its type (needed for contextual serializers)abstract JsonSerializer<java.lang.Object>SerializerProvider. findValueSerializer(JavaType serializationType, BeanProperty property)Similar toSerializerProvider.findValueSerializer(Class), but takes full generics-aware type instead of raw class.JsonSerializer<java.lang.Object>SerializerProvider. getKeySerializer()Deprecated.As of version 1.7, use version that exposes property object instead of just its type (needed for contextual serializers)JsonSerializer<java.lang.Object>SerializerProvider. getKeySerializer(JavaType valueType, BeanProperty property)Deprecated.As of version 1.8abstract JsonSerializer<java.lang.Object>SerializerProvider. getNullKeySerializer()Method called to get the serializer to use for serializing Map keys that are nulls: this is needed since JSON does not allow any non-String value as key, including null.abstract JsonSerializer<java.lang.Object>SerializerProvider. getNullValueSerializer()Method called to get the serializer to use for serializing values (root level, Array members or List field values) that are nulls.abstract JsonSerializer<java.lang.Object>SerializerProvider. getUnknownTypeSerializer(java.lang.Class<?> unknownType)Method called to get the serializer to use if provider can not determine an actual type-specific serializer to use; typically when none ofSerializerFactoryinstances are able to construct a serializer.abstract JsonSerializer<?>HandlerInstantiator. serializerInstance(SerializationConfig config, Annotated annotated, java.lang.Class<? extends JsonSerializer<?>> serClass)Method called to get an instance of serializer of specified type.JsonSerializer<java.lang.Object>SerializationConfig. serializerInstance(Annotated annotated, java.lang.Class<? extends JsonSerializer<?>> serClass)JsonSerializer<T>JsonSerializer. unwrappingSerializer()Method that will return serializer instance that produces "unwrapped" serialization, if applicable for type being serialized (which is the case for some serializers that produce JSON Objects as output).Methods in org.codehaus.jackson.map that return types with arguments of type JsonSerializer Modifier and Type Method Description java.lang.Class<? extends JsonSerializer<?>>AnnotationIntrospector. findContentSerializer(Annotated am)Method for getting a serializer definition for content (values) of associatedCollection,arrayorMapproperty.java.lang.Class<? extends JsonSerializer<?>>AnnotationIntrospector.Pair. findContentSerializer(Annotated a)java.lang.Class<? extends JsonSerializer<?>>AnnotationIntrospector. findKeySerializer(Annotated am)Method for getting a serializer definition for keys of associatedMapproperty.java.lang.Class<? extends JsonSerializer<?>>AnnotationIntrospector.Pair. findKeySerializer(Annotated a)Methods in org.codehaus.jackson.map with parameters of type JsonSerializer Modifier and Type Method Description JsonSerializer<?>Serializers.Base. findArraySerializer(SerializationConfig config, ArrayType type, BeanDescription beanDesc, BeanProperty property, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)JsonSerializer<?>Serializers. findArraySerializer(SerializationConfig config, ArrayType type, BeanDescription beanDesc, BeanProperty property, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)Method called by serialization framework first time a serializer is needed for specified array type.JsonSerializer<?>Serializers.Base. findCollectionLikeSerializer(SerializationConfig config, CollectionLikeType type, BeanDescription beanDesc, BeanProperty property, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)JsonSerializer<?>Serializers. findCollectionLikeSerializer(SerializationConfig config, CollectionLikeType type, BeanDescription beanDesc, BeanProperty property, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)JsonSerializer<?>Serializers.Base. findCollectionSerializer(SerializationConfig config, CollectionType type, BeanDescription beanDesc, BeanProperty property, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)JsonSerializer<?>Serializers. findCollectionSerializer(SerializationConfig config, CollectionType type, BeanDescription beanDesc, BeanProperty property, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)JsonSerializer<?>Serializers.Base. findMapLikeSerializer(SerializationConfig config, MapLikeType type, BeanDescription beanDesc, BeanProperty property, JsonSerializer<java.lang.Object> keySerializer, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)JsonSerializer<?>Serializers. findMapLikeSerializer(SerializationConfig config, MapLikeType type, BeanDescription beanDesc, BeanProperty property, JsonSerializer<java.lang.Object> keySerializer, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)JsonSerializer<?>Serializers.Base. findMapSerializer(SerializationConfig config, MapType type, BeanDescription beanDesc, BeanProperty property, JsonSerializer<java.lang.Object> keySerializer, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)JsonSerializer<?>Serializers. findMapSerializer(SerializationConfig config, MapType type, BeanDescription beanDesc, BeanProperty property, JsonSerializer<java.lang.Object> keySerializer, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)abstract voidSerializerProvider. setDefaultKeySerializer(JsonSerializer<java.lang.Object> ks)Method that can be used to specify serializer to use for serializing all non-null JSON property names, unless more specific key serializer is found (i.e.abstract voidSerializerProvider. setNullKeySerializer(JsonSerializer<java.lang.Object> nks)Method that can be used to specify serializer that will be used to write JSON property names matching null keys for Java Maps (which will throw an exception if try write such property name)abstract voidSerializerProvider. setNullValueSerializer(JsonSerializer<java.lang.Object> nvs)Method that can be used to specify serializer that will be used to write JSON values matching Java null values instead of default one (which simply writes JSON null)Method parameters in org.codehaus.jackson.map with type arguments of type JsonSerializer Modifier and Type Method Description abstract JsonSerializer<?>HandlerInstantiator. serializerInstance(SerializationConfig config, Annotated annotated, java.lang.Class<? extends JsonSerializer<?>> serClass)Method called to get an instance of serializer of specified type.JsonSerializer<java.lang.Object>SerializationConfig. serializerInstance(Annotated annotated, java.lang.Class<? extends JsonSerializer<?>> serClass) -
Uses of JsonSerializer in org.codehaus.jackson.map.annotate
Methods in org.codehaus.jackson.map.annotate that return types with arguments of type JsonSerializer Modifier and Type Method Description java.lang.Class<? extends JsonSerializer<?>>contentUsing()Serializer class to use for serializing contents (elements of a Collection/array, values of Maps) of annotated property.java.lang.Class<? extends JsonSerializer<?>>keyUsing()Serializer class to use for serializing Map keys of annotated property.java.lang.Class<? extends JsonSerializer<?>>using()Serializer class to use for serializing associated value. -
Uses of JsonSerializer in org.codehaus.jackson.map.ext
Subclasses of JsonSerializer in org.codehaus.jackson.map.ext Modifier and Type Class Description static classCoreXMLSerializers.XMLGregorianCalendarSerializerclassDOMSerializerstatic classJodaSerializers.DateMidnightSerializerstatic classJodaSerializers.DateTimeSerializerprotected static classJodaSerializers.JodaSerializer<T>static classJodaSerializers.LocalDateSerializerstatic classJodaSerializers.LocalDateTimeSerializerMethods in org.codehaus.jackson.map.ext that return JsonSerializer Modifier and Type Method Description JsonSerializer<?>OptionalHandlerFactory. findSerializer(SerializationConfig config, JavaType type)Methods in org.codehaus.jackson.map.ext that return types with arguments of type JsonSerializer Modifier and Type Method Description java.util.Collection<java.util.Map.Entry<java.lang.Class<?>,JsonSerializer<?>>>CoreXMLSerializers. provide()java.util.Collection<java.util.Map.Entry<java.lang.Class<?>,JsonSerializer<?>>>JodaSerializers. provide() -
Uses of JsonSerializer in org.codehaus.jackson.map.introspect
Methods in org.codehaus.jackson.map.introspect that return types with arguments of type JsonSerializer Modifier and Type Method Description java.lang.Class<? extends JsonSerializer<?>>JacksonAnnotationIntrospector. findContentSerializer(Annotated a)java.lang.Class<? extends JsonSerializer<?>>JacksonAnnotationIntrospector. findKeySerializer(Annotated a) -
Uses of JsonSerializer in org.codehaus.jackson.map.module
Fields in org.codehaus.jackson.map.module with type parameters of type JsonSerializer Modifier and Type Field Description protected java.util.HashMap<ClassKey,JsonSerializer<?>>SimpleSerializers. _classMappingsClass-based mappings that are used both for exact and sub-class matches.protected java.util.HashMap<ClassKey,JsonSerializer<?>>SimpleSerializers. _interfaceMappingsInterface-based matches.Methods in org.codehaus.jackson.map.module that return JsonSerializer Modifier and Type Method Description protected JsonSerializer<?>SimpleSerializers. _findInterfaceMapping(java.lang.Class<?> cls, ClassKey key)JsonSerializer<?>SimpleSerializers. findArraySerializer(SerializationConfig config, ArrayType type, BeanDescription beanDesc, BeanProperty property, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)JsonSerializer<?>SimpleSerializers. findCollectionLikeSerializer(SerializationConfig config, CollectionLikeType type, BeanDescription beanDesc, BeanProperty property, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)JsonSerializer<?>SimpleSerializers. findCollectionSerializer(SerializationConfig config, CollectionType type, BeanDescription beanDesc, BeanProperty property, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)JsonSerializer<?>SimpleSerializers. findMapLikeSerializer(SerializationConfig config, MapLikeType type, BeanDescription beanDesc, BeanProperty property, JsonSerializer<java.lang.Object> keySerializer, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)JsonSerializer<?>SimpleSerializers. findMapSerializer(SerializationConfig config, MapType type, BeanDescription beanDesc, BeanProperty property, JsonSerializer<java.lang.Object> keySerializer, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)JsonSerializer<?>SimpleSerializers. findSerializer(SerializationConfig config, JavaType type, BeanDescription beanDesc, BeanProperty property)Methods in org.codehaus.jackson.map.module with parameters of type JsonSerializer Modifier and Type Method Description <T> SimpleModuleSimpleModule. addKeySerializer(java.lang.Class<? extends T> type, JsonSerializer<T> ser)<T> SimpleModuleSimpleModule. addSerializer(java.lang.Class<? extends T> type, JsonSerializer<T> ser)SimpleModuleSimpleModule. addSerializer(JsonSerializer<?> ser)<T> voidSimpleSerializers. addSerializer(java.lang.Class<? extends T> type, JsonSerializer<T> ser)voidSimpleSerializers. addSerializer(JsonSerializer<?> ser)Method for adding given serializer for type thathandledType()specifies (which MUST return a non-null class; and can NOT beObject, as a sanity check).JsonSerializer<?>SimpleSerializers. findArraySerializer(SerializationConfig config, ArrayType type, BeanDescription beanDesc, BeanProperty property, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)JsonSerializer<?>SimpleSerializers. findCollectionLikeSerializer(SerializationConfig config, CollectionLikeType type, BeanDescription beanDesc, BeanProperty property, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)JsonSerializer<?>SimpleSerializers. findCollectionSerializer(SerializationConfig config, CollectionType type, BeanDescription beanDesc, BeanProperty property, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)JsonSerializer<?>SimpleSerializers. findMapLikeSerializer(SerializationConfig config, MapLikeType type, BeanDescription beanDesc, BeanProperty property, JsonSerializer<java.lang.Object> keySerializer, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)JsonSerializer<?>SimpleSerializers. findMapSerializer(SerializationConfig config, MapType type, BeanDescription beanDesc, BeanProperty property, JsonSerializer<java.lang.Object> keySerializer, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer) -
Uses of JsonSerializer in org.codehaus.jackson.map.ser
Subclasses of JsonSerializer in org.codehaus.jackson.map.ser Modifier and Type Class Description classBeanSerializerSerializer class that can serialize arbitrary bean objectsclassEnumSerializerDeprecated.Since 1.9 useEnumSerializerclassMapSerializerDeprecated.Since 1.9 useMapSerializerclassScalarSerializerBase<T>Deprecated.Since 1.9 useSerializerBaseinstead.classSerializerBase<T>Deprecated.Since 1.9 useSerializerBaseclassStdKeySerializerDeprecated.Since 1.9 useStdKeySerializerinsteadstatic classStdSerializers.BooleanSerializerSerializer used for primitive boolean, as well as java.util.Boolean wrapper type.static classStdSerializers.CalendarSerializerDeprecated.Since 1.9, useDateSerializerinsteadstatic classStdSerializers.DoubleSerializerThis is the special serializer for regularDoubles (and primitive doubles)static classStdSerializers.FloatSerializerstatic classStdSerializers.IntegerSerializerThis is the special serializer for regularIntegers (and primitive ints)static classStdSerializers.IntLikeSerializerSimilar toStdSerializers.IntegerSerializer, but will not cast to Integer: instead, cast is toNumber, and conversion is by callingNumber.intValue().static classStdSerializers.LongSerializerstatic classStdSerializers.NumberSerializerAs a fallback, we may need to use this serializer for other types ofNumbers (custom types).static classStdSerializers.SerializableSerializerDeprecated.Since 1.9, useDateSerializerinsteadstatic classStdSerializers.SerializableWithTypeSerializerDeprecated.Since 1.9, useDateSerializerinsteadstatic classStdSerializers.SqlDateSerializerCompared to regularStdSerializers.UtilDateSerializer, we do use String representation here.static classStdSerializers.SqlTimeSerializerstatic classStdSerializers.StringSerializerDeprecated.Since 1.9, useStringSerializerinsteadstatic classStdSerializers.UtilDateSerializerDeprecated.Since 1.9, useDateSerializerinsteadclassToStringSerializerDeprecated.Since 1.9 useToStringSerializerFields in org.codehaus.jackson.map.ser declared as JsonSerializer Modifier and Type Field Description protected JsonSerializer<?>CustomSerializerFactory. _enumSerializerOverrideAnd for Enum handling we may specify a single default serializer to use, regardless of actual enumeration.protected JsonSerializer<java.lang.Object>StdSerializerProvider. _keySerializerSerializer used to output non-null keys of Maps (which will get output as JSON Objects), if not null; if null, us the standard default key serializer.protected JsonSerializer<java.lang.Object>StdSerializerProvider. _nullKeySerializerSerializer used to (try to) output a null key, due to an entry ofMaphaving null key.protected JsonSerializer<java.lang.Object>StdSerializerProvider. _nullValueSerializerSerializer used to output a null value.protected JsonSerializer<java.lang.Object>BeanPropertyWriter. _serializerSerializer to use for writing out the value: null if it can not be known statically; non-null if it can.protected JsonSerializer<java.lang.Object>StdSerializerProvider. _unknownTypeSerializerSerializer that gets called for values of types for which no serializers can be constructed.static JsonSerializer<java.lang.Object>StdSerializerProvider. DEFAULT_KEY_SERIALIZERDeprecated.Since 1.9, useStdKeySerializersinsteadstatic JsonSerializer<java.lang.Object>StdSerializerProvider. DEFAULT_NULL_KEY_SERIALIZERstatic JsonSerializer<java.lang.Object>StdSerializerProvider. DEFAULT_UNKNOWN_SERIALIZERFields in org.codehaus.jackson.map.ser with type parameters of type JsonSerializer Modifier and Type Field Description protected static java.util.HashMap<java.lang.String,JsonSerializer<?>>BasicSerializerFactory. _arraySerializersprotected static java.util.HashMap<java.lang.String,JsonSerializer<?>>BasicSerializerFactory. _concreteSince these are all JDK classes, we shouldn't have to worry about ClassLoader used to load them.protected static java.util.HashMap<java.lang.String,java.lang.Class<? extends JsonSerializer<?>>>BasicSerializerFactory. _concreteLazyActually it may not make much sense to eagerly instantiate all kinds of serializers: so this Map actually contains class references, not instancesprotected java.util.HashMap<ClassKey,JsonSerializer<?>>CustomSerializerFactory. _directClassMappingsDirect mappings that are only used for exact class type matches, but not for sub-class checks.protected java.util.HashMap<ClassKey,JsonSerializer<?>>CustomSerializerFactory. _interfaceMappingsAnd finally interface-based matches.protected java.util.HashMap<ClassKey,JsonSerializer<?>>CustomSerializerFactory. _transitiveClassMappingsAnd then class-based mappings that are used both for exact and sub-class matches.Methods in org.codehaus.jackson.map.ser that return JsonSerializer Modifier and Type Method Description protected JsonSerializer<java.lang.Object>StdSerializerProvider. _createAndCacheUntypedSerializer(java.lang.Class<?> type, BeanProperty property)Method that will try to construct a value serializer; and if one is successfully created, cache it for reuse.protected JsonSerializer<java.lang.Object>StdSerializerProvider. _createAndCacheUntypedSerializer(JavaType type, BeanProperty property)protected JsonSerializer<java.lang.Object>StdSerializerProvider. _createUntypedSerializer(JavaType type, BeanProperty property)protected JsonSerializer<java.lang.Object>BeanPropertyWriter. _findAndAddDynamic(PropertySerializerMap map, java.lang.Class<?> type, SerializerProvider provider)protected JsonSerializer<java.lang.Object>StdSerializerProvider. _findExplicitUntypedSerializer(java.lang.Class<?> runtimeType, BeanProperty property)Method that will try to find a serializer, either from cache or by constructing one; but will not return an "unknown" serializer if this can not be done but rather returns null.protected JsonSerializer<?>CustomSerializerFactory. _findInterfaceMapping(java.lang.Class<?> cls, ClassKey key)protected JsonSerializer<java.lang.Object>StdSerializerProvider. _handleContextualResolvable(JsonSerializer<java.lang.Object> ser, BeanProperty property)JsonSerializer<?>BeanSerializerBuilder. build()Method called to createBeanSerializerinstance with all accumulated information.protected JsonSerializer<?>BasicSerializerFactory. buildArraySerializer(SerializationConfig config, ArrayType type, BasicBeanDescription beanDesc, BeanProperty property, boolean staticTyping, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)Helper method that handles configuration details when constructing serializers forObject[](and subtypes, except for String).protected JsonSerializer<?>BasicSerializerFactory. buildCollectionLikeSerializer(SerializationConfig config, CollectionLikeType type, BasicBeanDescription beanDesc, BeanProperty property, boolean staticTyping, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)Helper method that handles configuration details when constructing serializers for Collection and Collection-like types.protected JsonSerializer<?>BasicSerializerFactory. buildCollectionSerializer(SerializationConfig config, CollectionType type, BasicBeanDescription beanDesc, BeanProperty property, boolean staticTyping, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)Helper method that handles configuration details when constructing serializers forListtypes that support efficient by-index accessJsonSerializer<?>BasicSerializerFactory. buildContainerSerializer(SerializationConfig config, JavaType type, BasicBeanDescription beanDesc, BeanProperty property, boolean staticTyping)protected JsonSerializer<?>BasicSerializerFactory. buildEnumMapSerializer(SerializationConfig config, JavaType type, BasicBeanDescription beanDesc, BeanProperty property, boolean staticTyping, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)Helper method that handles configuration details when constructing serializers forEnumMaptypes.protected JsonSerializer<?>BasicSerializerFactory. buildEnumSetSerializer(SerializationConfig config, JavaType type, BasicBeanDescription beanDesc, BeanProperty property, boolean staticTyping, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)protected JsonSerializer<?>BasicSerializerFactory. buildIterableSerializer(SerializationConfig config, JavaType type, BasicBeanDescription beanDesc, BeanProperty property, boolean staticTyping)protected JsonSerializer<?>BasicSerializerFactory. buildIteratorSerializer(SerializationConfig config, JavaType type, BasicBeanDescription beanDesc, BeanProperty property, boolean staticTyping)protected JsonSerializer<?>BasicSerializerFactory. buildMapLikeSerializer(SerializationConfig config, MapLikeType type, BasicBeanDescription beanDesc, BeanProperty property, boolean staticTyping, JsonSerializer<java.lang.Object> keySerializer, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)Helper method that handles configuration details when constructing serializers for all "Map-like" types; both ones that implementMapand ones that do not (but that have been indicated to behave like Maps).protected JsonSerializer<?>BasicSerializerFactory. buildMapSerializer(SerializationConfig config, MapType type, BasicBeanDescription beanDesc, BeanProperty property, boolean staticTyping, JsonSerializer<java.lang.Object> keySerializer, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)Helper method that handles configuration details when constructing serializers forMaptypes.protected JsonSerializer<java.lang.Object>BeanSerializerFactory. constructBeanSerializer(SerializationConfig config, BasicBeanDescription beanDesc, BeanProperty property)Method called to construct serializer for serializing specified bean type.JsonSerializer<java.lang.Object>BeanSerializerFactory. createKeySerializer(SerializationConfig config, JavaType type, BeanProperty property)abstract JsonSerializer<java.lang.Object>BasicSerializerFactory. createSerializer(SerializationConfig config, JavaType type, BeanProperty property)JsonSerializer<java.lang.Object>BeanSerializerFactory. createSerializer(SerializationConfig config, JavaType origType, BeanProperty property)Main serializer constructor method.JsonSerializer<java.lang.Object>CustomSerializerFactory. createSerializer(SerializationConfig config, JavaType type, BeanProperty property)JsonSerializer<java.lang.Object>BeanSerializerFactory. findBeanSerializer(SerializationConfig config, JavaType type, BasicBeanDescription beanDesc, BeanProperty property)Method that will try to construct aBeanSerializerfor given class.protected static JsonSerializer<java.lang.Object>BasicSerializerFactory. findContentSerializer(SerializationConfig config, Annotated a, BeanProperty property)protected JsonSerializer<?>CustomSerializerFactory. findCustomSerializer(java.lang.Class<?> type, SerializationConfig config)protected static JsonSerializer<java.lang.Object>BasicSerializerFactory. findKeySerializer(SerializationConfig config, Annotated a, BeanProperty property)JsonSerializer<java.lang.Object>StdSerializerProvider. findKeySerializer(JavaType keyType, BeanProperty property)JsonSerializer<?>BasicSerializerFactory. findSerializerByAddonType(SerializationConfig config, JavaType javaType, BasicBeanDescription beanDesc, BeanProperty property, boolean staticTyping)Reflection-based serialized find method, which checks if given class implements one of recognized "add-on" interfaces.JsonSerializer<?>BasicSerializerFactory. findSerializerByLookup(JavaType type, SerializationConfig config, BasicBeanDescription beanDesc, BeanProperty property, boolean staticTyping)Method that will use fast lookup (and identity comparison) methods to see if we know serializer to use for given type.JsonSerializer<?>BasicSerializerFactory. findSerializerByPrimaryType(JavaType type, SerializationConfig config, BasicBeanDescription beanDesc, BeanProperty property, boolean staticTyping)Method for checking if we can determine serializer to use based on set of known primary types, checking for set of known base types (exact matches having been compared against withfindSerializerByLookup).protected JsonSerializer<java.lang.Object>BasicSerializerFactory. findSerializerFromAnnotation(SerializationConfig config, Annotated a, BeanProperty property)Helper method called to check if a class or method has an annotation (@link org.codehaus.jackson.map.ser.JsonSerialize#using) that tells the class to use for serialization.JsonSerializer<java.lang.Object>StdSerializerProvider. findTypedValueSerializer(java.lang.Class<?> valueType, boolean cache, BeanProperty property)JsonSerializer<java.lang.Object>StdSerializerProvider. findTypedValueSerializer(JavaType valueType, boolean cache, BeanProperty property)JsonSerializer<java.lang.Object>StdSerializerProvider. findValueSerializer(java.lang.Class<?> valueType, BeanProperty property)JsonSerializer<java.lang.Object>StdSerializerProvider. findValueSerializer(JavaType valueType, BeanProperty property)This variant was added in 1.5, to allow for efficient access using full structured types, not just classes.JsonSerializer<java.lang.Object>StdSerializerProvider. getNullKeySerializer()JsonSerializer<?>BasicSerializerFactory. getNullSerializer()JsonSerializer<java.lang.Object>StdSerializerProvider. getNullValueSerializer()JsonSerializer<java.lang.Object>BeanPropertyWriter. getSerializer()JsonSerializer<java.lang.Object>StdSerializerProvider. getUnknownTypeSerializer(java.lang.Class<?> unknownType)JsonSerializer<?>BeanSerializerModifier. modifySerializer(SerializationConfig config, BasicBeanDescription beanDesc, JsonSerializer<?> serializer)Method called byBeanSerializerFactoryafter constructing default bean serializer instance with properties collected and ordered earlier.JsonSerializer<java.lang.Object>BeanSerializer. unwrappingSerializer()Methods in org.codehaus.jackson.map.ser with parameters of type JsonSerializer Modifier and Type Method Description protected JsonSerializer<java.lang.Object>StdSerializerProvider. _handleContextualResolvable(JsonSerializer<java.lang.Object> ser, BeanProperty property)<T> voidCustomSerializerFactory. addGenericMapping(java.lang.Class<? extends T> type, JsonSerializer<T> ser)Method used to add a generic (transitive) mapping from specified class or its sub-classes into a serializer.<T> voidCustomSerializerFactory. addSpecificMapping(java.lang.Class<? extends T> forClass, JsonSerializer<T> ser)Method used to add a mapping from specific type -- and only that type -- to specified serializer.protected JsonSerializer<?>BasicSerializerFactory. buildArraySerializer(SerializationConfig config, ArrayType type, BasicBeanDescription beanDesc, BeanProperty property, boolean staticTyping, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)Helper method that handles configuration details when constructing serializers forObject[](and subtypes, except for String).protected JsonSerializer<?>BasicSerializerFactory. buildCollectionLikeSerializer(SerializationConfig config, CollectionLikeType type, BasicBeanDescription beanDesc, BeanProperty property, boolean staticTyping, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)Helper method that handles configuration details when constructing serializers for Collection and Collection-like types.protected JsonSerializer<?>BasicSerializerFactory. buildCollectionSerializer(SerializationConfig config, CollectionType type, BasicBeanDescription beanDesc, BeanProperty property, boolean staticTyping, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)Helper method that handles configuration details when constructing serializers forListtypes that support efficient by-index accessprotected JsonSerializer<?>BasicSerializerFactory. buildEnumMapSerializer(SerializationConfig config, JavaType type, BasicBeanDescription beanDesc, BeanProperty property, boolean staticTyping, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)Helper method that handles configuration details when constructing serializers forEnumMaptypes.protected JsonSerializer<?>BasicSerializerFactory. buildEnumSetSerializer(SerializationConfig config, JavaType type, BasicBeanDescription beanDesc, BeanProperty property, boolean staticTyping, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)protected JsonSerializer<?>BasicSerializerFactory. buildMapLikeSerializer(SerializationConfig config, MapLikeType type, BasicBeanDescription beanDesc, BeanProperty property, boolean staticTyping, JsonSerializer<java.lang.Object> keySerializer, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)Helper method that handles configuration details when constructing serializers for all "Map-like" types; both ones that implementMapand ones that do not (but that have been indicated to behave like Maps).protected JsonSerializer<?>BasicSerializerFactory. buildMapSerializer(SerializationConfig config, MapType type, BasicBeanDescription beanDesc, BeanProperty property, boolean staticTyping, JsonSerializer<java.lang.Object> keySerializer, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)Helper method that handles configuration details when constructing serializers forMaptypes.protected BeanPropertyWriterPropertyBuilder. buildWriter(java.lang.String name, JavaType declaredType, JsonSerializer<java.lang.Object> ser, TypeSerializer typeSer, TypeSerializer contentTypeSer, AnnotatedMember am, boolean defaultUseStaticTyping)JsonSerializer<?>BeanSerializerModifier. modifySerializer(SerializationConfig config, BasicBeanDescription beanDesc, JsonSerializer<?> serializer)Method called byBeanSerializerFactoryafter constructing default bean serializer instance with properties collected and ordered earlier.voidStdSerializerProvider. setDefaultKeySerializer(JsonSerializer<java.lang.Object> ks)voidCustomSerializerFactory. setEnumSerializer(JsonSerializer<?> enumSer)Method that can be used to force specified serializer to be used for serializing all Enum instances.voidStdSerializerProvider. setNullKeySerializer(JsonSerializer<java.lang.Object> nks)voidStdSerializerProvider. setNullValueSerializer(JsonSerializer<java.lang.Object> nvs)BeanPropertyWriterBeanPropertyWriter. withSerializer(JsonSerializer<java.lang.Object> ser)Method that will construct and return a new writer that has same properties as this writer, but uses specified serializer instead of currently configured one (if any).Constructors in org.codehaus.jackson.map.ser with parameters of type JsonSerializer Constructor Description BeanPropertyWriter(AnnotatedMember member, Annotations contextAnnotations, java.lang.String name, JavaType declaredType, JsonSerializer<java.lang.Object> ser, TypeSerializer typeSer, JavaType serType, java.lang.reflect.Method m, java.lang.reflect.Field f, boolean suppressNulls, java.lang.Object suppressableValue)BeanPropertyWriter(AnnotatedMember member, Annotations contextAnnotations, SerializedString name, JavaType declaredType, JsonSerializer<java.lang.Object> ser, TypeSerializer typeSer, JavaType serType, java.lang.reflect.Method m, java.lang.reflect.Field f, boolean suppressNulls, java.lang.Object suppressableValue)BeanPropertyWriter(BeanPropertyWriter base, JsonSerializer<java.lang.Object> ser)"Copy constructor" to be used by filtering sub-classesMapSerializer(java.util.HashSet<java.lang.String> ignoredEntries, JavaType keyType, JavaType valueType, boolean valueTypeIsStatic, TypeSerializer vts, JsonSerializer<java.lang.Object> keySerializer, BeanProperty property)Deprecated.As of 1.8, use version that takes valueSerializerMapSerializer(java.util.HashSet<java.lang.String> ignoredEntries, JavaType keyType, JavaType valueType, boolean valueTypeIsStatic, TypeSerializer vts, JsonSerializer<java.lang.Object> keySerializer, JsonSerializer<java.lang.Object> valueSerializer, BeanProperty property)Deprecated. -
Uses of JsonSerializer in org.codehaus.jackson.map.ser.impl
Subclasses of JsonSerializer in org.codehaus.jackson.map.ser.impl Modifier and Type Class Description classFailingSerializerSpecial bogus "serializer" that will throwJsonGenerationExceptionif itsFailingSerializer.serialize(java.lang.Object, org.codehaus.jackson.JsonGenerator, org.codehaus.jackson.map.SerializerProvider)gets invoked.classUnknownSerializerclassUnwrappingBeanSerializerFields in org.codehaus.jackson.map.ser.impl declared as JsonSerializer Modifier and Type Field Description JsonSerializer<java.lang.Object>PropertySerializerMap.SerializerAndMapResult. serializerMethods in org.codehaus.jackson.map.ser.impl that return JsonSerializer Modifier and Type Method Description protected JsonSerializer<java.lang.Object>UnwrappingBeanPropertyWriter. _findAndAddDynamic(PropertySerializerMap map, java.lang.Class<?> type, SerializerProvider provider)JsonSerializer<java.lang.Object>JsonSerializerMap. find(SerializerCache.TypeKey key)abstract JsonSerializer<java.lang.Object>PropertySerializerMap. serializerFor(java.lang.Class<?> type)Main lookup method.JsonSerializer<java.lang.Object>ReadOnlyClassToSerializerMap. typedValueSerializer(java.lang.Class<?> cls)JsonSerializer<java.lang.Object>ReadOnlyClassToSerializerMap. typedValueSerializer(JavaType type)JsonSerializer<java.lang.Object>SerializerCache. typedValueSerializer(java.lang.Class<?> cls)JsonSerializer<java.lang.Object>SerializerCache. typedValueSerializer(JavaType type)JsonSerializer<java.lang.Object>ReadOnlyClassToSerializerMap. untypedValueSerializer(java.lang.Class<?> cls)JsonSerializer<java.lang.Object>ReadOnlyClassToSerializerMap. untypedValueSerializer(JavaType type)JsonSerializer<java.lang.Object>SerializerCache. untypedValueSerializer(java.lang.Class<?> type)Method that checks if the shared (and hence, synchronized) lookup Map might have untyped serializer for given type.JsonSerializer<java.lang.Object>SerializerCache. untypedValueSerializer(JavaType type)JsonSerializer<java.lang.Object>UnwrappingBeanSerializer. unwrappingSerializer()Methods in org.codehaus.jackson.map.ser.impl with parameters of type JsonSerializer Modifier and Type Method Description voidSerializerCache. addAndResolveNonTypedSerializer(java.lang.Class<?> type, JsonSerializer<java.lang.Object> ser, SerializerProvider provider)voidSerializerCache. addAndResolveNonTypedSerializer(JavaType type, JsonSerializer<java.lang.Object> ser, SerializerProvider provider)voidSerializerCache. addTypedSerializer(java.lang.Class<?> cls, JsonSerializer<java.lang.Object> ser)voidSerializerCache. addTypedSerializer(JavaType type, JsonSerializer<java.lang.Object> ser)Method called if none of lookups succeeded, and caller had to construct a serializer.abstract PropertySerializerMapPropertySerializerMap. newWith(java.lang.Class<?> type, JsonSerializer<java.lang.Object> serializer)BeanPropertyWriterUnwrappingBeanPropertyWriter. withSerializer(JsonSerializer<java.lang.Object> ser)Method parameters in org.codehaus.jackson.map.ser.impl with type arguments of type JsonSerializer Modifier and Type Method Description static ReadOnlyClassToSerializerMapReadOnlyClassToSerializerMap. from(java.util.HashMap<SerializerCache.TypeKey,JsonSerializer<java.lang.Object>> src)Factory method for creating the "blueprint" lookup map.Constructors in org.codehaus.jackson.map.ser.impl with parameters of type JsonSerializer Constructor Description SerializerAndMapResult(JsonSerializer<java.lang.Object> serializer, PropertySerializerMap map)UnwrappingBeanPropertyWriter(BeanPropertyWriter base, JsonSerializer<java.lang.Object> ser)Constructor parameters in org.codehaus.jackson.map.ser.impl with type arguments of type JsonSerializer Constructor Description JsonSerializerMap(java.util.Map<SerializerCache.TypeKey,JsonSerializer<java.lang.Object>> serializers) -
Uses of JsonSerializer in org.codehaus.jackson.map.ser.std
Subclasses of JsonSerializer in org.codehaus.jackson.map.ser.std Modifier and Type Class Description classAsArraySerializerBase<T>Base class for serializers that will output contents as JSON arrays; typically serializers used forCollectionand array types.classBeanSerializerBaseBase class both for the standard bean serializer, and couple of variants that only differ in small details.classCalendarSerializerStandard serializer forCalendar.classCollectionSerializerFallback serializer for cases where Collection is not known to be of type for which more specializer serializer exists (such as index-accessible List).classContainerSerializerBase<T>Intermediate base class for types that contain element(s) of other types.classDateSerializerFor efficiency, we will serialize Dates as longs, instead of potentially more readable Strings.classEnumMapSerializerSpecialized serializer forEnumMaps.classEnumSerializerStandard serializer used forEnumtypes.classEnumSetSerializerclassIndexedStringListSerializerEfficient implementation for serializingLists that contains Strings and are random-accessible.classInetAddressSerializerSimple serializer forInetAddress.classIterableSerializerclassJsonValueSerializerSerializer class that can serialize Object that have aJsonValueannotation to indicate that serialization should be done by calling the method annotated, and serializing result it returns.classMapSerializerStandard serializer implementation for serializing {link java.util.Map} types.classNonTypedScalarSerializerBase<T>Intermediate base class for limited number of scalar types that should never include type information.classNullSerializerThis is a simple dummy serializer that will just output literal JSON null value whenever serialization is requested.classObjectArraySerializerGeneric serializer for Object arrays (Object[]).classRawSerializer<T>This is a simple dummy serializer that will just output raw values by calling toString() on value to serialize.classScalarSerializerBase<T>classSerializableSerializerGeneric handler for types that implementJsonSerializable.classSerializableWithTypeSerializerGeneric handler for types that implementJsonSerializableWithType.classSerializerBase<T>Base class used by all standard serializers.classStaticListSerializerBase<T extends java.util.Collection<?>>Intermediate base class for Lists, Collections and Arrays that contain static (non-dynamic) value types.static classStdArraySerializers.ArraySerializerBase<T>Base class for serializers that will output contents as JSON arrays.static classStdArraySerializers.BooleanArraySerializerstatic classStdArraySerializers.ByteArraySerializerUnlike other integral number array serializers, we do not just print out byte values as numbers.static classStdArraySerializers.CharArraySerializerCharacter arrays are different from other integral number arrays in that they are most likely to be textual data, and should be written as Strings, not arrays of entries.static classStdArraySerializers.DoubleArraySerializerstatic classStdArraySerializers.FloatArraySerializerstatic classStdArraySerializers.IntArraySerializerstatic classStdArraySerializers.LongArraySerializerstatic classStdArraySerializers.ShortArraySerializerstatic classStdArraySerializers.StringArraySerializerStandard serializer used forString[]values.static classStdContainerSerializers.IndexedListSerializerThis is an optimized serializer for Lists that can be efficiently traversed by index (as opposed to others, such asLinkedListthat can not}.static classStdContainerSerializers.IteratorSerializerstatic classStdJdkSerializers.AtomicBooleanSerializerstatic classStdJdkSerializers.AtomicIntegerSerializerstatic classStdJdkSerializers.AtomicLongSerializerstatic classStdJdkSerializers.AtomicReferenceSerializerstatic classStdJdkSerializers.ClassSerializerAlso: default bean access will not do much good with Class.class.static classStdJdkSerializers.FileSerializerFor now, File objects get serialized by just outputting absolute (but not canonical) name as String valueclassStdKeySerializerSpecialized serializer that can be used as the generic key serializer, when serializingMaps to JSON Objects.static classStdKeySerializers.CalendarKeySerializerstatic classStdKeySerializers.DateKeySerializerstatic classStdKeySerializers.StringKeySerializerclassStringCollectionSerializerEfficient implement for serializingCollections that contain Strings.classStringSerializerThis is the special serializer for regularStrings.classTimeZoneSerializerclassTokenBufferSerializerWe also want to directly support serialization ofTokenBuffer; and since it is part of core package, it can not implementJsonSerializable(which is only included in the mapper package)classToStringSerializerSimple general purpose serializer, useful for any type for whichObject.toString()returns the desired JSON value.Fields in org.codehaus.jackson.map.ser.std declared as JsonSerializer Modifier and Type Field Description protected JsonSerializer<java.lang.Object>AsArraySerializerBase. _elementSerializerValue serializer to use, if it can be statically determinedprotected JsonSerializer<java.lang.Object>ObjectArraySerializer. _elementSerializerValue serializer to use, if it can be statically determined.protected JsonSerializer<java.lang.Object>StdArraySerializers.StringArraySerializer. _elementSerializerValue serializer to use, if it's not the standard one (if it is we can optimize serialization a lot)protected JsonSerializer<java.lang.Object>MapSerializer. _keySerializerKey serializer to use, if it can be statically determinedprotected JsonSerializer<java.lang.String>IndexedStringListSerializer. _serializerprotected JsonSerializer<java.lang.String>StringCollectionSerializer. _serializerprotected JsonSerializer<java.lang.Object>EnumMapSerializer. _valueSerializerValue serializer to use, if it can be statically determinedprotected JsonSerializer<java.lang.Object>JsonValueSerializer. _valueSerializerprotected JsonSerializer<java.lang.Object>MapSerializer. _valueSerializerValue serializer to use, if it can be statically determinedprotected static JsonSerializer<java.lang.Object>StdKeySerializers. DEFAULT_KEY_SERIALIZERprotected static JsonSerializer<java.lang.Object>StdKeySerializers. DEFAULT_STRING_SERIALIZERprotected static JsonSerializer<?>StdKeySerializers.CalendarKeySerializer. instanceprotected static JsonSerializer<?>StdKeySerializers.DateKeySerializer. instanceMethods in org.codehaus.jackson.map.ser.std that return JsonSerializer Modifier and Type Method Description protected JsonSerializer<java.lang.Object>AsArraySerializerBase. _findAndAddDynamic(PropertySerializerMap map, java.lang.Class<?> type, SerializerProvider provider)protected JsonSerializer<java.lang.Object>AsArraySerializerBase. _findAndAddDynamic(PropertySerializerMap map, JavaType type, SerializerProvider provider)protected JsonSerializer<java.lang.Object>MapSerializer. _findAndAddDynamic(PropertySerializerMap map, java.lang.Class<?> type, SerializerProvider provider)protected JsonSerializer<java.lang.Object>MapSerializer. _findAndAddDynamic(PropertySerializerMap map, JavaType type, SerializerProvider provider)protected JsonSerializer<java.lang.Object>ObjectArraySerializer. _findAndAddDynamic(PropertySerializerMap map, java.lang.Class<?> type, SerializerProvider provider)protected JsonSerializer<java.lang.Object>ObjectArraySerializer. _findAndAddDynamic(PropertySerializerMap map, JavaType type, SerializerProvider provider)static JsonSerializer<?>StdContainerSerializers. enumSetSerializer(JavaType enumType, BeanProperty property)static JsonSerializer<java.lang.Object>StdKeySerializers. getStdKeySerializer(JavaType keyType)Methods in org.codehaus.jackson.map.ser.std with parameters of type JsonSerializer Modifier and Type Method Description static ContainerSerializerBase<?>StdContainerSerializers. collectionSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, BeanProperty property, JsonSerializer<java.lang.Object> valueSerializer)static MapSerializerMapSerializer. construct(java.lang.String[] ignoredList, JavaType mapType, boolean staticValueType, TypeSerializer vts, BeanProperty property, JsonSerializer<java.lang.Object> keySerializer, JsonSerializer<java.lang.Object> valueSerializer)static ContainerSerializerBase<?>StdContainerSerializers. indexedListSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, BeanProperty property, JsonSerializer<java.lang.Object> valueSerializer)protected booleanSerializerBase. isDefaultSerializer(JsonSerializer<?> serializer)Method that can be called to determine if given serializer is the default serializer Jackson uses; as opposed to a custom serializer installed by a module or calling application.protected booleanJsonValueSerializer. isNaturalTypeWithStdHandling(JavaType type, JsonSerializer<?> ser)voidCollectionSerializer. serializeContentsUsing(java.util.Collection<?> value, JsonGenerator jgen, SerializerProvider provider, JsonSerializer<java.lang.Object> ser)protected voidEnumMapSerializer. serializeContentsUsing(java.util.EnumMap<? extends java.lang.Enum<?>,?> value, JsonGenerator jgen, SerializerProvider provider, JsonSerializer<java.lang.Object> valueSer)voidObjectArraySerializer. serializeContentsUsing(java.lang.Object[] value, JsonGenerator jgen, SerializerProvider provider, JsonSerializer<java.lang.Object> ser)voidStdContainerSerializers.IndexedListSerializer. serializeContentsUsing(java.util.List<?> value, JsonGenerator jgen, SerializerProvider provider, JsonSerializer<java.lang.Object> ser)protected voidMapSerializer. serializeFieldsUsing(java.util.Map<?,?> value, JsonGenerator jgen, SerializerProvider provider, JsonSerializer<java.lang.Object> ser)Method called to serialize fields, when the value type is statically known, so that value serializer is passed and does not need to be fetched from provider.Constructors in org.codehaus.jackson.map.ser.std with parameters of type JsonSerializer Constructor Description AsArraySerializerBase(java.lang.Class<?> cls, JavaType et, boolean staticTyping, TypeSerializer vts, BeanProperty property, JsonSerializer<java.lang.Object> elementSerializer)CollectionSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, BeanProperty property, JsonSerializer<java.lang.Object> valueSerializer)EnumMapSerializer(JavaType valueType, boolean staticTyping, EnumValues keyEnums, TypeSerializer vts, BeanProperty property, JsonSerializer<java.lang.Object> valueSerializer)IndexedListSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, BeanProperty property, JsonSerializer<java.lang.Object> valueSerializer)IndexedStringListSerializer(BeanProperty property, JsonSerializer<?> ser)JsonValueSerializer(java.lang.reflect.Method valueMethod, JsonSerializer<java.lang.Object> ser, BeanProperty property)MapSerializer(java.util.HashSet<java.lang.String> ignoredEntries, JavaType keyType, JavaType valueType, boolean valueTypeIsStatic, TypeSerializer vts, JsonSerializer<java.lang.Object> keySerializer, JsonSerializer<java.lang.Object> valueSerializer, BeanProperty property)ObjectArraySerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, BeanProperty property, JsonSerializer<java.lang.Object> elementSerializer)StringCollectionSerializer(BeanProperty property, JsonSerializer<?> ser) -
Uses of JsonSerializer in org.codehaus.jackson.xc
Subclasses of JsonSerializer in org.codehaus.jackson.xc Modifier and Type Class Description classDataHandlerJsonSerializerclassDomElementJsonSerializerclassXmlAdapterJsonSerializerFields in org.codehaus.jackson.xc declared as JsonSerializer Modifier and Type Field Description protected JsonSerializer<?>JaxbAnnotationIntrospector. _dataHandlerSerializerMethods in org.codehaus.jackson.xc that return JsonSerializer Modifier and Type Method Description JsonSerializer<?>JaxbAnnotationIntrospector. findSerializer(Annotated am)
-