Top Constructors Methods
tools.jackson.datatype.eclipsecollections

public final Class EclipseCollectionsSerializers

extends Base
Class Inheritance
Imports
java.util.Map, com.fasterxml.jackson.annotation.JsonFormat, tools.jackson.databind.BeanDescription, .JavaType, .ValueSerializer, .SerializationConfig, tools.jackson.databind.jsontype.TypeSerializer, tools.jackson.databind.ser.Serializers, tools.jackson.databind.ser.jdk.CollectionSerializer, tools.jackson.databind.type.CollectionLikeType, tools.jackson.datatype.eclipsecollections.ser.BooleanIterableSerializer, .ByteIterableSerializer, .CharIterableSerializer, .DoubleIterableSerializer, .FloatIterableSerializer, .IntIterableSerializer, .LongIterableSerializer, .ShortIterableSerializer, tools.jackson.datatype.eclipsecollections.ser.map.PrimitivePrimitiveMapSerializers, .PrimitiveRefMapSerializers, .RefPrimitiveMapSerializers, .RefRefMapIterableSerializer, tools.jackson.datatype.primitive_collections_base.ser.map.PrimitiveMapSerializer, org.eclipse.collections.api.BooleanIterable, .ByteIterable, .CharIterable, .DoubleIterable, .FloatIterable, .IntIterable, .LongIterable, .PrimitiveIterable, .ShortIterable, org.eclipse.collections.api.collection.ImmutableCollection, org.eclipse.collections.api.map.MapIterable, org.eclipse.collections.api.map.primitive.ByteObjectMap, .CharObjectMap, .DoubleObjectMap, .FloatObjectMap, .IntObjectMap, .LongObjectMap, .ObjectBooleanMap, .ObjectByteMap, .ObjectCharMap, .ObjectDoubleMap, .ObjectFloatMap, .ObjectIntMap, .ObjectLongMap, .ObjectShortMap, .PrimitiveObjectMap, .ShortObjectMap

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ValueSerializer<?>
findCollectionLikeSerializer(SerializationConfig config, CollectionLikeType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer)

Overrides default tools.jackson.databind.ser.Serializers.findCollectionLikeSerializer.

Method called by serialization framework first time a serializer is needed for specified "Collection-like" type (type that acts like java.util.Collection, but does not implement it).

public ValueSerializer<?>
findSerializer(SerializationConfig config, JavaType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides)

Overrides default tools.jackson.databind.ser.Serializers.findSerializer.

Fallback ethod called by serialization framework first time a serializer is needed for given type, which is not of any more specific type (like enum, tree node, reference or container type) for which other methods are called).

Inherited from tools.jackson.databind.ser.Serializers.Base:
calculateEffectiveFormat

Constructor Detail

EclipseCollectionsSerializersback to summary
public EclipseCollectionsSerializers()

Method Detail

findCollectionLikeSerializerback to summary
public ValueSerializer<?> findCollectionLikeSerializer(SerializationConfig config, CollectionLikeType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer)

Overrides default tools.jackson.databind.ser.Serializers.findCollectionLikeSerializer.

Doc from tools.jackson.databind.ser.Serializers.findCollectionLikeSerializer.

Method called by serialization framework first time a serializer is needed for specified "Collection-like" type (type that acts like java.util.Collection, but does not implement it). Implementation should return a serializer instance if it supports specified type; or null if it does not.

Annotations
@Override
findSerializerback to summary
public ValueSerializer<?> findSerializer(SerializationConfig config, JavaType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides)

Overrides default tools.jackson.databind.ser.Serializers.findSerializer.

Doc from tools.jackson.databind.ser.Serializers.findSerializer.

Fallback ethod called by serialization framework first time a serializer is needed for given type, which is not of any more specific type (like enum, tree node, reference or container type) for which other methods are called).

Basically called for types for which none of other callbacks are called.

Annotations
@Override