Skip to content
This repository was archived by the owner on Jan 22, 2019. It is now read-only.
This repository was 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

@cowtowncoder

Description

@cowtowncoder

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions