Skip to content
This repository has been archived by the owner on Jan 22, 2019. It is now read-only.

2.7: Add alternative way to configure 'wrap-as-array', as CsvParser feature #81

Closed
cowtowncoder opened this issue Jun 9, 2015 · 0 comments
Milestone

Comments

@cowtowncoder
Copy link
Member

Currently ability to wrap contents as array is defined as a CsvParser.Feature. This work, but since it is not known to general databinding, it can not be changed on per-call basis yet.

But with 2.7, support will be added for a general facility via FormatFeature (see FasterXML/jackson-databind#819). CSV module needs to make sure it is wired to support this.
2.6 already added CsvGenerator.overrideFormatFeatures() / CsvParser.overrideFormatFeatures() which should help.

NOTE: one problematic aspects is that instead of getting feature flags passed on constructor, they are now sent immediately after this. So parser/generator need to be aware that some features are NOT yet available when instance is constructed.

@cowtowncoder cowtowncoder changed the title Add alternative way to configure 'wrap-as-array', as CsvParser feature 2.7: Add alternative way to configure 'wrap-as-array', as CsvParser feature Jun 24, 2015
cowtowncoder added a commit that referenced this issue Oct 23, 2015
@cowtowncoder cowtowncoder added this to the 2.7.0 milestone Oct 23, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant