在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:msgpack/msgpack-java开源软件地址:https://github.com/msgpack/msgpack-java开源编程语言:Java 81.0%开源软件介绍:MessagePack for JavaMessagePack is a binary serialization format. If you need a fast and compact alternative of JSON, MessagePack is your friend. For example, a small integer can be encoded in a single byte, and short strings only need a single byte prefix + the original byte array. MessagePack implementation is already available in various languages (See also the list in http://msgpack.org) and works as a universal data format.
MessagePack v7 (or later) is a faster implementation of the previous version v06, and supports all of the message pack types, including extension format. JavaDoc is available at javadoc.io. Quick StartFor Maven users:
For sbt users:
For gradle users:
Integration with Jackson ObjectMapper (jackson-databind)msgpack-java supports serialization and deserialization of Java objects through jackson-databind. For details, see msgpack-jackson/README.md. The template-based serialization mechanism used in v06 is deprecated. For MessagePack Developersmsgpack-java uses sbt for building the projects. For the basic usage of sbt, see: Coding style
Basic sbt commandsEnter the sbt console:
Here is a list of sbt commands for daily development:
Publishing
Publish to Sonatype (Maven Central)To publish a new version, you only need to add a new git tag and push it to GitHub. GitHub Action will deploy a new release version to Maven Central (Sonatype). $ git tag v0.x.y
$ git push origin v0.x.y To generate a release notes, you can use this command line:
Publishing to Sonatype from Local MachineIf you need to publish to Maven central using a local machine, you need to configure sbt-sonatype plugin. First set Sonatype account information (user name and password) in the global sbt settings. To protect your password, never include this file in your project. $HOME/.sbt/(sbt-version)/sonatype.sbt
You may also need to configure GPG. See the instruction in sbt-pgp. Then, run
If some sporadic error happens (e.g., Sonatype timeout), rerun Project Structure
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论