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

[CSV] DeserializationFeature.ACCEPT_EMPTY_STRING_AS_NULL_OBJECT is ignored #119

Closed
serpro69 opened this issue Feb 5, 2019 · 1 comment
Closed

Comments

@serpro69
Copy link

serpro69 commented Feb 5, 2019

I'm trying to serialize from kotlin data class to csv file and then back to data class.
All nulls are serialized as empty strings in the csv file.
Then for the deserialization I use csvMapper.enable(DeserializationFeature.ACCEPT_EMPTY_STRING_AS_NULL_OBJECT) however it still maps values as empty strings, not as nulls.

Not sure if this is related to kotlin-module or to dataformat-csv.

@serpro69
Copy link
Author

serpro69 commented Feb 5, 2019

Found an answer in the archived repo: FasterXML/jackson-dataformat-csv#112

@serpro69 serpro69 closed this as completed Feb 5, 2019
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