jackson-dataformat-csv icon indicating copy to clipboard operation
jackson-dataformat-csv copied to clipboard

Consider adding default "standard" `CsvSchema` instances

Open cowtowncoder opened this issue 9 years ago • 2 comments

Since there are couple de-facto "sub-formats" of CSV; for example ones explained here:

http://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html

it might make sense to add those for convenience. This could also expose gaps in current implementation, i.e. it'd make sense to have more test data to validate use of such variations.

cowtowncoder avatar Nov 24 '14 19:11 cowtowncoder

For completeness, of examples listed, it seems useful to support something like:

  • EXCEL_WITH_COMMA
  • MYSQL_EXPORT
  • RFC4180
  • TDF

cowtowncoder avatar Nov 24 '14 19:11 cowtowncoder

It could be implemented in a similar way to the also-excellent Apache Commons CSV: CSVFormat

jonnyelliot avatar Feb 25 '16 17:02 jonnyelliot