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

Support JsonGenerator.Feature.IGNORE_KNOWN for CSV, to ignoring extra columns #50

Closed
cowtowncoder opened this issue Oct 3, 2014 · 1 comment
Milestone

Comments

@cowtowncoder
Copy link
Member

Currently existence of additional undeclared/extra columns results in an exception.
But it would be good to have:

  1. A feature to indicate it is ok to have extra columns at the end; and if so, ignore/skip them, AND
  2. An accessor in CsvParser to indicate number of such extra columns that were skipped, if any

It may also make sense to try to add support for exposing such extra fields using some other mechanism (expose as actual column, perhaps), and let them be set via "any setter"). But that's for another feature request.

@cowtowncoder cowtowncoder added this to the 2.5.0 milestone Nov 10, 2014
@cowtowncoder
Copy link
Member Author

Added support for new (in 2.5.0) JsonGenerator.Feature.IGNORE_UNKNOWN.

@cowtowncoder cowtowncoder changed the title Add a feature to allow ignoring extra columns Support JsonGenerator.Feature.IGNORE_KNOWN for CSV, to ignoring extra columns Nov 10, 2014
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