- No external dependencies
- No builtin support for native object serialization, annotations, or RPC.
+ - It's very minimalistic - at the time of this writing, the entire redistributable
+ library is only ~11kb ... with full library sources for reference.
Object unpacked = MsgPack.unpack(data);
System.out.println("Unpacked data: " + unpacked);
See Test.java for more examples.
You can also pack/unpack to/from Data(Output/Input)Streams.
+You can also specify unpacking options:
+ Object unpacked = MsgPack.unpack(data, UNPACK_RAW_AS_STRING);
+ to unpack things as something other than a raw byte.
This implementation uses the builtin Java types: