Option to set null string?
revyTH opened this issue · 1 comments
revyTH commented
Null string default is written as "null". Should be present a setter to override the default null string
osiegmar commented
FastCSV writes a null string as an empty field, not as "null".
try (CsvAppender csv = new CsvWriter().append(new PrintWriter(System.out))) {
csv.appendLine("foo", null, "bar");
}
prints: foo,,bar
If you want to transform null to some other value, why pass null to FastCSV?