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

Duplicate key detection does not work for (simple) Trees #51

Closed
cowtowncoder opened this issue Apr 17, 2017 · 1 comment
Closed

Duplicate key detection does not work for (simple) Trees #51

cowtowncoder opened this issue Apr 17, 2017 · 1 comment
Labels
Milestone

Comments

@cowtowncoder
Copy link
Member

cowtowncoder commented Apr 17, 2017

(note: continuation from #50)

So: enabling JSON.Feature.FAIL_ON_DUPLICATE_MAP_KEYS does not make tree builder enable duplicate checking.

@cowtowncoder
Copy link
Member Author

Alas, this can not be currently implemented because JacksonJrsTreeCodec does not have access to configuration information -- its readTree() method is only passed JsonParser but nothing else.

Not sure what would be the best way to tackle this: one option would be to require codec to be configured separately, but that does not seem optimal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant