node-csvtojson
node-csvtojson copied to clipboard
When header has ".", it creates inner objects
When I have a header like "04. EQ Class", it separate the header to objects like below
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 }?