-
Notifications
You must be signed in to change notification settings - Fork 321
V07 add jackson dataformat #146
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can add name property here to specify jar name (e.g., jackson-databind-msgpack)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MessagePackFactory is already used in msgpack-core. Can you rename it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm. Jackson-dataformat-xxxx uses a naming convention (Data format name)Factory such as SmileFactory, CsvFactory, YAMLFactory, XmlFactory and AvroFactory. So I can't come up with a better name than MessagePackFactory. Also, I think having the same class names isn't an import issue because ordinary developers don't need to consider it other than developers of jackson-dataformat-msgpack (off course, we can use the correct class with each package name).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But in the msgpack-jackson/README.md, you mentioned
only you need to do is to instantiate MessagePackFactory
https://github.com/msgpack/msgpack-java/pull/146/files#diff-c1644750de4c3267355de3f00a0f6f05R20
It's already ambiguous.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed core.MessagePackerFactory, and packer/unpacker can be instantiated from MessagePack class, so it's okay to leave jackson/MessagePackFactory class name unchanged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All right. Thanks.
README.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please explain what is jackson-databind. For example,
You can use jackson-databind to serialize/deserialize Java objects in MessagePack format. For details, see msgpack-jackson/README.md
|
package name |
… to avoid the name conflicts with jackson.MessagePackFactory
|
To avoid the name conflict of MessagePackFactory , I migrated the functionality of core.MessagePackFactory to MessagePack class. |
Good point. I'll change it. |
|
@xerial I made the package name shorter. |
|
@komamitsu If there is a possibility to add some |
|
@xerial I think it's possible we extend jackson core library as |
…ck-java into v07-add-jackson-dataformat
Signed-off-by: Tsuyoshi Ozawa <ozawa.tsuyoshi@gmail.com>
|
Looks good to me. Merging. |
See #145