class FastjsonRenderTypedFactory extends FastjsonRenderFactoryBase {
    private SerializeConfig config;
    private SerializerFeature[] features;

    public FastjsonRenderTypedFactory(){
        features = new SerializerFeature[]{
                SerializerFeature.BrowserCompatible,
                SerializerFeature.WriteClassName,
                SerializerFeature.DisableCircularReferenceDetect
        };
    }

    @Override
    public Render create() {
        return new StringSerializerRender(true, new FastjsonSerializer(config, features));
    }

    @Override
    public SerializeConfig config() {<FILL_FUNCTION_BODY>}
}

        if (config == null) {
            config = new SerializeConfig();
        }

        return config;
    
<methods>public non-sealed void <init>() ,public void addConvertor(Class<T>, Converter<T,java.lang.Object>) ,public void addEncoder(java.lang.reflect.Type, com.alibaba.fastjson.serializer.ObjectSerializer) ,public abstract com.alibaba.fastjson.serializer.SerializeConfig config() <variables>