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

Exceptionless ObjectMapper.writeValueAsString(Bytes) #54

Closed
buckelieg opened this issue Dec 23, 2020 · 1 comment
Closed

Exceptionless ObjectMapper.writeValueAsString(Bytes) #54

buckelieg opened this issue Dec 23, 2020 · 1 comment

Comments

@buckelieg
Copy link

Remove annoying JsonProcessingException (replace it with runtime exception) for mapper to be able efficiently used in functional programming style (lambda).

@cowtowncoder
Copy link
Member

For Jackson 2.x this is not possible: it is possible to get a databinding exception during serialization -- not all failures are due to i/o.

But Jackson 3.x will change this exception to be unchecked:

FasterXML/jackson-databind#2177

so that it need not be caught.

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