Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
package com.fitbur.jackson.databind.ser.std;
import java.io.IOException;
import java.util.Collection;
import java.util.Iterator;
import com.fitbur.jackson.core.*;
import com.fitbur.jackson.databind.BeanProperty;
import com.fitbur.jackson.databind.JavaType;
import com.fitbur.jackson.databind.JsonSerializer;
import com.fitbur.jackson.databind.SerializationFeature;
import com.fitbur.jackson.databind.SerializerProvider;
import com.fitbur.jackson.databind.jsontype.TypeSerializer;
import com.fitbur.jackson.databind.ser.ContainerSerializer;
import com.fitbur.jackson.databind.ser.impl.PropertySerializerMap;
/**
* Fallback serializer for cases where Collection is not known to be
* of type for which more specializer serializer exists (such as
* index-accessible List).
* If so, we will just construct an {@link java.util.Iterator}
* to iterate over elements.
*/
public class CollectionSerializer
extends AsArraySerializerBase>
{
private static final long serialVersionUID = 1L;
/*
/**********************************************************
/* Life-cycle
/**********************************************************
*/
/**
* @since 2.6
*/
public CollectionSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts,
JsonSerializer