common_helper/src/main/java/com/xiongyingqi/jackson/impl/Jackson1JavassistFilterPropertyHandler.java
private ObjectMapper createObjectMapper(Map<Class<?>, Class<?>> map) {
        ObjectMapper mapper = new ObjectMapper();
        Set<Entry<Class<?>, Class<?>>> entries = map.entrySet();
        for (Iterator<Entry<Class<?>, Class<?>>> iterator = entries.iterator(); iterator.hasNext(); ) {
            Entry<Class<?>, Class<?>> entry = iterator.next();
            mapper.getSerializationConfig().addMixInAnnotations(entry.getKey(), entry.getValue());
//            mapper.addMixInAnnotations(entry.getKey(), entry.getValue());
        }
        return mapper;
    }
private ObjectMapper createObjectMapper(Map<Class<?>, Class<?>> map) {
        ObjectMapper mapper = new ObjectMapper();
        Set<Entry<Class<?>, Class<?>>> entries = map.entrySet();
        for (Iterator<Entry<Class<?>, Class<?>>> iterator = entries.iterator(); iterator.hasNext(); ) {
            Entry<Class<?>, Class<?>> entry = iterator.next();
            mapper.getSerializationConfig().addMixInAnnotations(entry.getKey(), entry.getValue());
//            mapper.addMixInAnnotations(entry.getKey(), entry.getValue());
        }
        return mapper;
    }
根据指定的过滤表创建jackson对象 <br>
2013-10-25 下午2:46:43

@param map 过滤表
@return ObjectMapper