Open cowtowncoder opened 7 years ago
Hmmh. Unfortunately I am not sure this is possible: since linefeeds are acceptable within quoted content, the last value would enclose lines 2 and 3. So although recovery should be able to recover from missing end quote, that would not help a lot given that the one logical line that exists would be skipped.
One possibility here would be addition of the CSV read feature, or possible a CsvSchema property, which would enable/disable ability to contain linefeeds within quoted content.
Another question would be that of what to do with linefeeds: convert to spaces, drop, or throw exception. I assume first (spaces) or last (exception) are most likely actions.
(from https://github.com/FasterXML/jackson-dataformat-csv/issues/118 by @balbusm)
Example input: