Skip to content

Conversation

@cyberdelia
Copy link
Contributor

Add an ObjectMapper shorthand, allowing a less verbose initialization:

ObjectMapper objectMapper = new MessagePackMapper();

Rather than:

ObjectMapper objectMapper = new ObjectMapper(new MessagePackFactory());

It's similar to other dataformat implementation as well, see: https://github.com/FasterXML/jackson-dataformats-binary/tree/master/protobuf#creating-objectmapper

Copy link
Member

@komamitsu komamitsu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks! 🍷

@komamitsu komamitsu merged commit 6086904 into msgpack:develop Jan 15, 2022
@cyberdelia cyberdelia deleted the shorthand branch January 15, 2022 03:52
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

Successfully merging this pull request may close these issues.

2 participants