-
-
Notifications
You must be signed in to change notification settings - Fork 149
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
Add .ignoreProperty()
to csv builder
#386
Comments
While I can see why it might be convenient, conceptually this is bit different from what Still, I can see how some variation would perhaps make sense... would just need to think of how it maps nice to the model. I guess the idea is that definition of ignoral would essentially "hide" column value so that Databind would not see key/value pair at all. |
Hi, I have raised a PR for this issue: Can you please review and suggest? |
.ignoreProperty()
to csv builder
@membersound Can you check out #418 to see if that does what you want? It seems to me that it wouldn't (does something bit different) but I would like to know for sure. |
@cowtowncoder Can you have a look at my changes for #418. |
I would love to add fieldnames that should be ignored, like:
mapper.schemaFor(ExternalEntity.class).withHeader().ignoreProperty('id');
I know the
@JsonIgnore
annotation, but that requires modifying the target class, which is not always possible.Thus, a configuration setter would be required.
The text was updated successfully, but these errors were encountered: