@Override
    public void setupModule(SetupContext context) {
        context.addSerializers(new ThriftJacksonSerializers(useNamedEnums));
    }
Creates a new instance.

@param useNamedEnums whether to serialize an enum as a string or an integer
thrift/thrift0.13/src/main/java/com/linecorp/armeria/common/thrift/ThriftJacksonModule.java