jackson-dataformats-binary icon indicating copy to clipboard operation
jackson-dataformats-binary copied to clipboard

[ion] Ion type annotations not written for scalar and list types on serialization

Open mcliedtke opened this issue 8 years ago • 2 comments

Creating an issue based on the Google Groups discussion.

Issue: Ion type annotations are not written when using IonAnnotationTypeSerializer. This is due to un-implemented writeTypePrefixForScalar and writeTypePrefixForArray methods in the class.

Will see if I can work on a PR, with tests, for the fix.

mcliedtke avatar Jun 27 '17 10:06 mcliedtke

Quick note here: I decided to do a significant rewrite of type id write methods, and this gives more control to actual JsonGenerator subtype. I hope this helps in handling this better, for 2.9.0.

cowtowncoder avatar Jul 30 '17 03:07 cowtowncoder

The refactoring done resolved the original issue. Confirmed through tests added in this PR: https://github.com/FasterXML/jackson-dataformats-binary/pull/109

mcliedtke avatar Sep 13 '17 11:09 mcliedtke