class JacksonRenderFactory extends JacksonRenderFactoryBase {

    ObjectMapper config = new ObjectMapper();

    private Set<SerializationFeature> features;

    public JacksonRenderFactory() {
        features = new HashSet<>();
        features.add(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS);
        config.registerModule(new JavaTimeModule());
    }


    @Override
    public Render create() {<FILL_FUNCTION_BODY>}

    @Override
    public ObjectMapper config() {
        return config;
    }


    /**
     * 重新设置特性
     */
    public void setFeatures(SerializationFeature... features) {
        this.features.clear();
        this.features.addAll(Arrays.asList(features));
    }

    /**
     * 添加特性
     */
    public void addFeatures(SerializationFeature... features) {
        this.features.addAll(Arrays.asList(features));
    }

    /**
     * 移除特性
     */
    public void removeFeatures(SerializationFeature... features) {
        this.features.removeAll(Arrays.asList(features));
    }
}

        registerModule();

        for (SerializationFeature f1 : features) {
            config.enable(f1);
        }

        return new StringSerializerRender(false, new JacksonSerializer(config));
    
<methods>public non-sealed void <init>() ,public void addConvertor(Class<T>, Converter<T,java.lang.Object>) ,public void addEncoder(Class<T>, JsonSerializer<T>) ,public abstract com.fasterxml.jackson.databind.ObjectMapper config() <variables>protected com.fasterxml.jackson.databind.module.SimpleModule module