Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.fasterxml.jackson.databind.ser.std;
 
Dummy container class to group standard container serializers: serializers that can serialize things like java.util.Lists, java.util.Maps and such.
    protected StdContainerSerializers() { }
    
    

Since:
2.1
    public static ContainerSerializer<?> indexedListSerializer(JavaType elemType,
            boolean staticTypingTypeSerializer vtsJsonSerializer<ObjectvalueSerializer)
    {
        return new IndexedListSerializer(elemTypestaticTypingvtsnullvalueSerializer);
    }
    
    

Since:
2.1
    public static ContainerSerializer<?> collectionSerializer(JavaType elemType,
            boolean staticTypingTypeSerializer vtsJsonSerializer<ObjectvalueSerializer)
    {
        return new CollectionSerializer(elemTypestaticTypingvtsnullvalueSerializer);
    }
    public static ContainerSerializer<?> iteratorSerializer(JavaType elemType,
            boolean staticTypingTypeSerializer vts)
    {
        return new IteratorSerializer(elemTypestaticTypingvtsnull);
    }
    public static ContainerSerializer<?> iterableSerializer(JavaType elemType,
            boolean staticTypingTypeSerializer vts)
    {
        return new IterableSerializer(elemTypestaticTypingvtsnull);
    }
    public static JsonSerializer<?> enumSetSerializer(JavaType enumType)
    {
        return new EnumSetSerializer(enumTypenull);
    }
    /*
    /**********************************************************
    /* Deprecated methods
    /**********************************************************
     */

    

Deprecated:
Since 2.1; use variant that does not take 'property' argument
    @Deprecated
    public static ContainerSerializer<?> indexedListSerializer(JavaType elemType,
            boolean staticTypingTypeSerializer vtsBeanProperty property,
            JsonSerializer<ObjectvalueSerializer)
    {
        return indexedListSerializer(elemTypestaticTypingvtsvalueSerializer);
    }

    

Deprecated:
Since 2.1; use variant that does not take 'property' argument
    @Deprecated
    public static ContainerSerializer<?> collectionSerializer(JavaType elemType,
            boolean staticTypingTypeSerializer vtsBeanProperty property,
            JsonSerializer<ObjectvalueSerializer)
    {
        return collectionSerializer(elemTypestaticTypingvtsvalueSerializer);
    }
New to GrepCode? Check out our FAQ X