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

Add support for ensuring all schema fields are represented in readValue input #1487

Closed
jwilmoth opened this issue Jan 3, 2017 · 2 comments
Closed

Comments

@jwilmoth
Copy link

jwilmoth commented Jan 3, 2017

With a bean definition like:

class Person {
  String firstName;
  String lastName;
  int age;
  int birthYear;
}

The following string input "name" is functionally equivalent to "name,," even when using a CsvMapper with a schema created from the class. This makes it impossible to ensure the input was purposely truncated or done so in error. This request is to enable functionality that would require the number of field delimiters equal the number of fields defined in the schema.

@cowtowncoder
Copy link
Member

@jwilmoth Could you please re-file this under jackson-dataformat-csv as functionality is implemented there, and not in main databind module?

@jwilmoth
Copy link
Author

jwilmoth commented Jan 9, 2017

Re-filed as FasterXML/jackson-dataformat-csv#140

@jwilmoth jwilmoth closed this as completed Jan 9, 2017
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