// Path: src/main/java/ru/shadam/tarantool/core/convert/TarantoolDefaultConversionService.java
// public class TarantoolDefaultConversionService extends DefaultConversionService {
//     public TarantoolDefaultConversionService() {
//         super();
// 
//         removeConvertible(Collection.class, Object.class);
//         removeConvertible(Object.class, Collection.class);
//     }
// 
// }


import org.springframework.core.convert.converter.Converter;
import org.springframework.core.convert.support.ConfigurableConversionService;
import ru.shadam.tarantool.core.convert.TarantoolDefaultConversionService;
import java.lang.reflect.Array;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import java.util.Map;
package ru.shadam.tarantool.serializer;



/**
 * @author sala
 */
public class PlainTarantoolSerializer<T> implements TarantoolSerializer<T> {
    private static final Class<?>[] NATIVE_TYPES = new Class<?>[] {
        Boolean.class, Number.class, String.class, byte[].class
    };
    private final Class<T> desiredClass;
    private final ConfigurableConversionService conversionService;


    public PlainTarantoolSerializer(Class<T> desiredClass) {
// Path: src/main/java/ru/shadam/tarantool/core/convert/TarantoolDefaultConversionService.java
// public class TarantoolDefaultConversionService extends DefaultConversionService {
//     public TarantoolDefaultConversionService() {
//         super();
// 
//         removeConvertible(Collection.class, Object.class);
//         removeConvertible(Object.class, Collection.class);
//     }
// 
// }


// Path: src/main/java/ru/shadam/tarantool/serializer/PlainTarantoolSerializer.java
import org.springframework.core.convert.converter.Converter;
import org.springframework.core.convert.support.ConfigurableConversionService;
import ru.shadam.tarantool.core.convert.TarantoolDefaultConversionService;
import java.lang.reflect.Array;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import java.util.Map;

package ru.shadam.tarantool.serializer;



/**
 * @author sala
 */
public class PlainTarantoolSerializer<T> implements TarantoolSerializer<T> {
    private static final Class<?>[] NATIVE_TYPES = new Class<?>[] {
        Boolean.class, Number.class, String.class, byte[].class
    };
    private final Class<T> desiredClass;
    private final ConfigurableConversionService conversionService;


    public PlainTarantoolSerializer(Class<T> desiredClass) {
        this(desiredClass, new TarantoolDefaultConversionService());