[CSV-203]

withNullString value is printed without quotes when QuoteMode.ALL is
specified; add QuoteMode.ALL_NON_NULL. PR #17.
This commit is contained in:
Gary Gregory 2017-03-27 12:16:34 -07:00
parent 09cf3739df
commit 9ae4b56c2a
1 changed files with 2 additions and 1 deletions

View File

@ -362,7 +362,8 @@ public final class CSVFormat implements Serializable {
.withIgnoreEmptyLines(false)
.withQuote(null)
.withRecordSeparator(LF)
.withNullString("\\N");
.withNullString("\\N")
.withQuoteMode(QuoteMode.ALL_NON_NULL);
// @formatter:off
/**