node-csvtojson icon indicating copy to clipboard operation
node-csvtojson copied to clipboard

When header has ".", it creates inner objects

Open Elvin1492-softeq opened this issue 2 years ago • 1 comments

When I have a header like "04. EQ Class", it separate the header to objects like below image

Elvin1492-softeq avatar May 18 '23 07:05 Elvin1492-softeq

From the documentation:

flatKeys: Don't interpret dots (.) and square brackets in header fields as nested object or array identifiers at all (treat them like regular characters for JSON field identifiers). Default: false.

Have you therefore tried { flatKeys: true }?

mebibou avatar Aug 27 '24 08:08 mebibou