Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Make the raw data available on CsvMappingResult #90

Open
attilah opened this issue Sep 27, 2022 · 0 comments
Open

[Feature Request] Make the raw data available on CsvMappingResult #90

attilah opened this issue Sep 27, 2022 · 0 comments

Comments

@attilah
Copy link

attilah commented Sep 27, 2022

I had to filter large CSV files without touching the input, so I had to have access to the input raw data per line during my processing core. I solved it by adding a RowData property to CsvMappingResult class and populate it during parsing.

It enabled me to use a custom mapper and do all the filtering needs on the parsed properties of the class, but if the filter returned true I was able to write out the original line into the output folder, making sure that escaping, etc would be preserved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant