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
{{ message }}
This repository has been archived by the owner on Jan 22, 2019. It is now read-only.
I have a csv with 11 columns separated with tabulation the last one is an array separated by pipes.
I've declared a schema for the maping.
When the array field have one or many values it works fine, but when it has no value, instead of an empty list, i get a list of one empty String "".
This sounds more like a bug; and since array handling was added in 2.5.0, I suspect it is just an edge case that was not tested or handled correctly.
Thank you for reproting this!
I have a csv with 11 columns separated with tabulation the last one is an array separated by pipes.
I've declared a schema for the maping.
When the array field have one or many values it works fine, but when it has no value, instead of an empty list, i get a list of one empty String "".
I've found this thread http://stackoverflow.com/questions/12933394/jackson-deserialize-as-an-empty-list but, even with adding the DeserializationFeature presented it didn't change anything (i've try with and withFeatures, i don't see the difference?).
Even if i can't modify the source file, i've tried with quotes, it doesn't change anything.
According to the idea of the thread i've modified my setter, but it's not a good solution.
Maybe i've missed something?
The text was updated successfully, but these errors were encountered: