class ObjectWriterImplStringArray
        extends ObjectWriterPrimitiveImpl {
    static final byte[] TYPE_NAME_BYTES = JSONB.toBytes("[String");
    static final long JSONB_TYPE_HASH = Fnv.hashCode64("[String");

    static final ObjectWriterImplStringArray INSTANCE = new ObjectWriterImplStringArray();

    @Override
    public void write(JSONWriter jsonWriter, Object object, Object fieldName, Type fieldType, long features) {
        if (object == null) {
            jsonWriter.writeArrayNull();
            return;
        }

        String[] strings = (String[]) object;
        jsonWriter.writeString(strings);
    }

    @Override
    public void writeJSONB(JSONWriter jsonWriter, Object object, Object fieldName, Type fieldType, long features) {<FILL_FUNCTION_BODY>}
}

        if (object == null) {
            jsonWriter.writeArrayNull();
            return;
        }

        if (jsonWriter.isWriteTypeInfo(object, fieldType, features)) {
            jsonWriter.writeTypeName(TYPE_NAME_BYTES, JSONB_TYPE_HASH);
        }

        String[] list = (String[]) object;

        jsonWriter.startArray(list.length);
        for (int i = 0; i < list.length; i++) {
            String item = list[i];
            if (item == null) {
                if (jsonWriter.isEnabled(JSONWriter.Feature.NullAsDefaultValue.mask | JSONWriter.Feature.WriteNullStringAsEmpty.mask)) {
                    jsonWriter.writeString("");
                } else {
                    jsonWriter.writeNull();
                }
                continue;
            }
            jsonWriter.writeString(item);
        }
    
<methods>public non-sealed void <init>() ,public Function#RAW getFunction() ,public void writeArrayMapping(com.alibaba.fastjson2.JSONWriter, java.lang.Object, java.lang.Object, java.lang.reflect.Type, long) ,public void writeArrayMappingJSONB(com.alibaba.fastjson2.JSONWriter, java.lang.Object, java.lang.Object, java.lang.reflect.Type, long) <variables>