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

Enabling pretty-printing fails Ion serialization #247

Closed
cowtowncoder opened this issue Feb 18, 2021 · 0 comments
Closed

Enabling pretty-printing fails Ion serialization #247

cowtowncoder opened this issue Feb 18, 2021 · 0 comments
Milestone

Comments

@cowtowncoder
Copy link
Member

(note: cleaved off #245)

Enabling pretty-printing will make serialization fail with somewhat cryptic error message like:

    com.fasterxml.jackson.databind.JsonMappingException: Unexpected IOException (of type java.io.IOException): writeRaw() functionality not available with Ion backend

since default Jackson pretty-printing tries to use writeRaw() to add white-space indentation.
But this will not work (see #245), so code in 2.12 should just ignore pretty-printing setting first, and then can tackle actual implementation for textual Ion for 2.13 or later.

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