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 JsonFormat.Feature.ACCEPT_EMPTY_STRING_AS_NULL_OBJECT #134

Closed
cowtowncoder opened this issue Apr 10, 2018 · 1 comment
Closed

Add JsonFormat.Feature.ACCEPT_EMPTY_STRING_AS_NULL_OBJECT #134

cowtowncoder opened this issue Apr 10, 2018 · 1 comment

Comments

@cowtowncoder
Copy link
Member

There is already DeserializationFeature.ACCEPT_EMPTY_STRING_AS_NULL_OBJECT, but that is global setting. Would be good to have per-property counterpart.

@cowtowncoder
Copy link
Member Author

Hmmh. With 2.12 there is the new CoercionConfigs set up:

FasterXML/jackson-databind#2113

which will cover (some of?) the use case(s); but also would make this feature more difficult to implement. So unless that feature proves to have significant gaps (it has much wider applicability, so should cover more cases in general, but sometimes there are still also gaps), will close this issue.

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

1 participant