You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think I was trying to do two things independently, measure and display the conversion progress and also then separately to create indexes for the CSV to speed up subsequent processing. Both things are helped by being able to identify the source JSON of the given output line (its date, id, index etc).
I think I may have also used it for filtering subsets whilst converting. Such that lines containing various properties would end up in segregated csvs.
As it would be an optional second argument, it shouldn't cost much to pass along the raw JSON object reference I would think, but it can be useful for a variety of use-cases.
json2csv/packages/plainjs/src/StreamParser.ts
Lines 195 to 201 in 8c7895c
json2csv/packages/node/src/Transform.ts
Line 38 in 8c7895c
The text was updated successfully, but these errors were encountered: