Skip to content
This repository was archived by the owner on Oct 22, 2021. It is now read-only.

vibornoff/msgpack-javascript

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

MessagePack serializer implementation for JavaScript / msgpack.org[JavaScript]

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 60.9%
  • JavaScript 39.1%