This repository has been archived by the owner on Jul 11, 2024. It is now read-only.
protobuf-jackson-1.1.0
chokoswitch
released this
01 May 06:07
·
137 commits
to master
since this release
Bug Fixes
MessageMarshaller
contains methods to operate directly onJsonParser
andJsonGenerator
, similar to the normalObjectMapper
. This is primarily for registering protobuf marshalling into anObjectMapper
. UnlikeObjectMapper
these methods were closing the input parser / generator, which breaks marshalling usingObjectMapper
serialization. The methods have been changed to not close the input - this is being released as a minor release since all users should update to this version to fix the interaction withObjectMapper
. If your code createdJsonParser
orJsonGenerator
and relied on the auto-closing, you may need to close manually now. Standard methods that operate on streams, arrays, and strings are unaffected. #543