FasterXML / FasterXML/jackson-dataformats-text

CsvSchema skipFirstDataRow & useHeader

Offen
#176 6 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
csv
Vorherrschende Sprache
Java
Sterne
455
Forks
164
Ø Merge
6 T. 10 Std.
Gemergte PRs (30 T.)
2

Beschreibung

When both skipFirstDataRow and useHeader value are set **true**, the skipping will take place on the **second** line of the document.

_whether the first data line (either first line of the document, if useHeader=false, or second, if useHeader=true) should be completely ignored by parser._

Is it possible to overwrite this behaviour? Namely skipping the first line and use the second line as the header.

For example, this kind of document:
_sep=,
header1,header2
value1,value2._

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.