All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.codehaus.jackson.map.ser.MapSerializer Maven / Gradle / Ivy

Go to download

Ehcache is an open source, standards-based cache used to boost performance, offload the database and simplify scalability. Ehcache is robust, proven and full-featured and this has made it the most widely-used Java-based cache.

There is a newer version: 2.10.9.2
Show newest version
package org.codehaus.jackson.map.ser;

import java.util.HashSet;

import org.codehaus.jackson.map.BeanProperty;
import org.codehaus.jackson.map.JsonSerializer;
import org.codehaus.jackson.map.TypeSerializer;
import org.codehaus.jackson.map.annotate.JacksonStdImpl;
import org.codehaus.jackson.type.JavaType;

/**
 * @deprecated Since 1.9 use {@link org.codehaus.jackson.map.ser.std.MapSerializer}
 */
@Deprecated
@JacksonStdImpl
public class MapSerializer
    extends org.codehaus.jackson.map.ser.std.MapSerializer
{
    protected MapSerializer() {
        this((HashSet)null, null, null, false, null, null, null, null);
    }

    /**
     * Legacy constructor (as of 1.7)
     * 
     * @deprecated Use variant that takes Key type and property information
     */
    @Deprecated
    protected MapSerializer(HashSet ignoredEntries,
            JavaType valueType, boolean valueTypeIsStatic,
            TypeSerializer vts)
    {
        super(ignoredEntries, UNSPECIFIED_TYPE, valueType, valueTypeIsStatic, vts, null, null, null);
    }

    /**
     * Legacy constructor (as of 1.8)
     * 
     * @deprecated As of 1.8, use version that takes valueSerializer
     */
    @Deprecated
    protected MapSerializer(HashSet ignoredEntries,
            JavaType keyType, JavaType valueType, boolean valueTypeIsStatic,
            TypeSerializer vts, JsonSerializer keySerializer, BeanProperty property)
    {
        super(ignoredEntries, keyType, valueType, valueTypeIsStatic, vts, keySerializer, null, property);
    }
    
    protected MapSerializer(HashSet ignoredEntries,
            JavaType keyType, JavaType valueType, boolean valueTypeIsStatic,
            TypeSerializer vts,
            JsonSerializer keySerializer, JsonSerializer valueSerializer, 
            BeanProperty property)
    {
        super(ignoredEntries, keyType, valueType, valueTypeIsStatic,
                vts, keySerializer, valueSerializer, property);
    }    
}