GitHub - vibornoff/msgpack-javascript: MessagePack serializer implementation for JavaScript / msgpack.org[JavaScript]
This repository was archived by the owner on Oct 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
MessagePack
Space-efficient binary serialization format.
Quick start
// Got ArrayBuffer object var packed = msgpack.pack( { the: { very: [ "long", true, "data" ], "structure" }, depth: "is", such: [ NaN, Inifinity ], wow: new ArrayBuffer(100), is: 100 } ); // Got the original "such much" data structure var data = msgpack.unpack(packed);
Options
msgpack.MAX_DEPTH = 512- adjust maximum allowable data depth
Languages
- HTML 60.9%
- JavaScript 39.1%