public ObjectSerializer getObjectWriter(Class<?> clazz) {
        return getObjectWriter(clazz, true);
    }
class level serializer feature config
@since 1.2.12
src/main/java/com/alibaba/fastjson/serializer/SerializeConfig.java