Package org.codehaus.jackson.map.ser.std
Class StdContainerSerializers
- java.lang.Object
-
- org.codehaus.jackson.map.ser.std.StdContainerSerializers
-
- Direct Known Subclasses:
ContainerSerializers
public class StdContainerSerializers extends java.lang.Object
Dummy container class to group standard container serializers: serializers that can serialize things likeList
s,Map
s and such.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StdContainerSerializers.IndexedListSerializer
This is an optimized serializer for Lists that can be efficiently traversed by index (as opposed to others, such asLinkedList
that can not}.static class
StdContainerSerializers.IteratorSerializer
-
Constructor Summary
Constructors Modifier Constructor Description protected
StdContainerSerializers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ContainerSerializerBase<?>
collectionSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, BeanProperty property, JsonSerializer<java.lang.Object> valueSerializer)
static JsonSerializer<?>
enumSetSerializer(JavaType enumType, BeanProperty property)
static ContainerSerializerBase<?>
indexedListSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, BeanProperty property, JsonSerializer<java.lang.Object> valueSerializer)
static ContainerSerializerBase<?>
iterableSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, BeanProperty property)
static ContainerSerializerBase<?>
iteratorSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, BeanProperty property)
-
-
-
Method Detail
-
indexedListSerializer
public static ContainerSerializerBase<?> indexedListSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, BeanProperty property, JsonSerializer<java.lang.Object> valueSerializer)
-
collectionSerializer
public static ContainerSerializerBase<?> collectionSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, BeanProperty property, JsonSerializer<java.lang.Object> valueSerializer)
-
iteratorSerializer
public static ContainerSerializerBase<?> iteratorSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, BeanProperty property)
-
iterableSerializer
public static ContainerSerializerBase<?> iterableSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, BeanProperty property)
-
enumSetSerializer
public static JsonSerializer<?> enumSetSerializer(JavaType enumType, BeanProperty property)
-
-