FasterXML / FasterXML/jackson-dataformats-text

CsvSchema skipFirstDataRow & useHeader

Open
#176 6 comments 0 reactions 0 assignees View on GitHub
csv
Dominant language
Java
Stars
455
Forks
164
Avg merge
6d 10h
Merged PRs (30d)
2

Description

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._

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.