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

all and recommended ways to handle: com.fasterxml.jackson.dataformat.csv.CsvMappingException: CSV generator does not support Object values for properties (nested Objects) #135

Closed
sreev opened this issue Jun 3, 2019 · 1 comment

Comments

@sreev
Copy link

sreev commented Jun 3, 2019

What are all and recommended ways to handle:
com.fasterxml.jackson.dataformat.csv.CsvMappingException: CSV generator does not support Object values for properties (nested Objects)

Especially, when flow is:
jsonString -> (ObjectMapper) -> JsonNode -> (CsvMapper) -> csvString

@cowtowncoder
Copy link
Member

Please use mailing list for questions in future.

Short answer is that you will probably need to use @JsonUnwrapped to indicate how to "flatten" values of nested POJOs.

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

2 participants