Là một dự án mã nguồn mở, msgpack/msgpack-java đã đạt 1.5k sao trên GitHub, ngôn ngữ Java. MessagePack serializer implementation for Java / msgpack.org[Java]
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
MessagePack 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.
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.
Release Notes
For MessagePack Developers
msgpack-java uses sbt for building the projects. For the basic usage of sbt, see:
Building Java projects with sbt
Coding style
msgpack-java uses the same coding style with Facebook Presto
IntelliJ setting file
Scala test code uses Scalafmt with Scala 3 dialect (always use the latest Scala 3 version)
Basic sbt commands
Enter the sbt console:
$ ./sbt
Here is a list of sbt commands for daily development:
> ~compile # Compile source codes
> ~"Test / compile" # Compile both source and test codes
> ~test # Run tests upon source code change
> ~testOnly *MessagePackTest # Run tests in the specified class
> ~testOnly *MessagePackTest -- (pattern) # Run tests matching the pattern
> project msgpack-core # Focus on a specific project
> package # Create a jar file in the target folder of each project
> jcheckStyle # Run check style
> scalafmtAll # Format all Scala and sbt code
Publishing
> publishLocal # Install to local .ivy2 repository
> publishM2 # Install to local .m2 Maven repository
> publish # Publishing a snapshot version to the Sonatype repository
Publish to Sonatype (Maven Central)
To publish a new version, 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
A new release note will be generated automatically at the GitHub Releases page.
Publishing to Sonatype from Local Machine
If you need to publish to Maven central using a local machine, you need to configure credentials for Sonatype Central. 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.
You may also need to configure GPG. See the instruction in sbt-pgp.
Then, run publishSigned followed by sonaRelease:
# [optional] When you need to perform the individual release steps manually, use the following commands:
> publishSigned # Publish GPG signed artifacts to the Sonatype repository
> sonaRelease # Publish to the Maven Central (It will be synched within less than 4 hours)
If some sporadic error happens (e.g., Sonatype timeout), rerun sonaRelease again.
Project Structure
msgpack-core # Contains packer/unpacker implementation that never uses third-party libraries
msgpack-jackson # Contains jackson-dataformat-java implementation
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/msgpack/msgpack-java là nguồn chính thức.
msgpack/msgpack-java có bao nhiêu sao?
msgpack/msgpack-java có 1.5k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/msgpack/msgpack-java. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
msgpack/msgpack-java có phải mã nguồn mở không?
Có — msgpack/msgpack-java phát hành theo license Apache-2.0, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/msgpack/msgpack-java.
msgpack/msgpack-java có trang demo không?
Dự án có trang chủ ở http://msgpack.org/. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
msgpack/msgpack-java là gì?
msgpack/msgpack-java (msgpack/msgpack-java) là dự án Java trên GitHub. Theo mô tả gốc: MessagePack serializer implementation for Java / msgpack.org[Java]
Đọc đầy đủ README ở tab phía trên.
Chưa chắc msgpack-java có hợp với bạn?
Để ChatGPT, Claude hoặc Perplexity tìm hiểu giúp — bấm bên dưới và xem AI nói gì về msgpack-java.