static void config(JSONWriter.Feature feature, boolean state) {
        if (state) {
            JSONFactory.defaultWriterFeatures |= feature.mask;
        } else {
            JSONFactory.defaultWriterFeatures &= ~feature.mask;
        }
    }
Enable or disable the specified features in default writer

@param feature the specified feature to be used
@param state enable this feature if and only if {@code state} is {@code true}, disable otherwise
@since 2.0.6
core/src/main/java/com/alibaba/fastjson2/JSON.java