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

Map nulls to empty values when writing beans #49

Open
spatula75 opened this issue Nov 6, 2014 · 0 comments
Open

Map nulls to empty values when writing beans #49

spatula75 opened this issue Nov 6, 2014 · 0 comments

Comments

@spatula75
Copy link

Currently if a mapped field in a bean is null, CSVeed will throw a NullPointerException when writing the row for that bean, because of the way RowWriterImpl.java line 107 works.

It would be nice if CSVeed could interpret null field values as empty, or offer an option to @CsvCell to enable that behavior.

A plausible workaround is to provide custom mappers for every field, but this is somewhat messy.

hazendaz added a commit that referenced this issue Oct 5, 2023
…e-parent-41.x

Update dependency com.github.hazendaz:base-parent to v41
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