| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [View Raw Code] [Original HTTPS Page] |
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
MessagePack-Java is a binary serialization library that provides a fast and compact alternative to JSON. The project consists of two main modules:
./sbt compile # Compile source code
./sbt "Test / compile" # Compile source and test code
./sbt package # Create JAR files./sbt test # Run all tests
./sbt ~test # Run tests continuously on file changes
./sbt testOnly *TestClass # Run specific test class
./sbt "testOnly *TestClass -- -z pattern" # Run tests matching pattern
# Test with universal buffer mode (for compatibility testing)
./sbt test -J-Dmsgpack.universal-buffer=true./sbt jcheckStyle # Run checkstyle (Facebook Presto style)
./sbt scalafmtAll # Format all Scala and sbt code./sbt publishLocal # Install to local .ivy2 repository
./sbt publishM2 # Install to local .m2 Maven repositoryThe main entry point is the MessagePack factory class which creates:
Key locations:
MessagePack uses an efficient buffer abstraction layer:
The msgpack-jackson module provides:
For JDK 17+ compatibility, these options are automatically added:
--add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED
| Back | FazBrowse Home | New Git URL |