static void validateFormatOptions(ReadableConfig tableOptions) {

        validateCharacterVal(tableOptions, TextFormatOptions.FIELD_DELIMITER, true);
        validateCharacterVal(tableOptions, TextFormatOptions.KV_DELIMITER, true);
        validateCharacterVal(tableOptions, TextFormatOptions.KV_ENTRY_DELIMITER, true);
        validateCharacterVal(tableOptions, TextFormatOptions.QUOTE_CHARACTER);
        validateCharacterVal(tableOptions, TextFormatOptions.ESCAPE_CHARACTER);
    }
Commons values and methods for KV format.
inlong-sort/sort-formats/format-rowdata/format-rowdata-kv/src/main/java/org/apache/inlong/sort/formats/kv/KvCommons.java