Skip to content

Features#

Current Features#

  • Complete implementation of the MessagePack specification
  • Designed to be safe, efficient, and extensible
  • Modern interface-based API with JSpecify nullness annotations
  • Embraces Java NIO
    • Heap and direct byte buffers
    • Buffer pooling
    • Channel transfers
    • Gathering writes
  • Fast and safe string encoding/decoding
    • Malformed and unmappable characters are always replaced with \uFFFD
  • Small JAR size (~70 KB)
  • Ships as Java module (JPMS)
  • No native code, reflection, or internal/unsafe JDK classes
  • No dependencies other than JSpecify (~3 KB, optional)
  • Compatible with GraalVM Native Image
  • Thoroughly tested with jqwik
  • Thoroughly benchmarked with JMH
    • Benchmarked against MessagePack's Java reference implementation

Planned Features#