MessagePack
Sign in to saveAlso known as msgpack
MessagePack is a computer data interchange format. It is a binary form for representing simple data structures like arrays and associative arrays. MessagePack aims to be as compact and simple as possible. The official implementation is available in a variety of languages, some official libraries and others community created, such as C, C++, C#, D, Erlang, Go, Haskell, Java, JavaScript (NodeJS), Lua, OCaml, Perl, PHP, Python, Ruby, Rust, Scala, Smalltalk, and Swift.
Source code
MessagePack is an efficient binary serialization format. It's like JSON. but fast and small. This repository manages specification of MessagePack format. See Spec for the specification. Implementation projects have each own repository. See msgpack.org website to find implementations and their documents. If you'd like to show your msgpack implementation to the msgpack.org website, please follow the website document.
Excerpt from the source-code README · 541 chars · not written by Vinony
Wikidata facts
- Official website
- msgpack.org
Show 5 more facts
- described at URL
- raw.githubusercontent.com/kaitai-io/kaitai_struct_formats/master/serialization/msgpack.ksy
- source code repository URL
- github.com/msgpack/msgpack
- media type
- application/vnd.msgpack
- software version identifier
- 0.3.3
- publication date
- 2008-08-16
via Wikidata · CC0
~3 min read
Article
5 sectionsContents
- Data types and syntax
- Comparison to other formats
- See also
- References
- External links
MessagePack is a computer data interchange format. It is a binary form for representing simple data structures like arrays and associative arrays. MessagePack aims to be as compact and simple as possible. The official implementation is available in a variety of languages, some official libraries and others community created, such as C, C++, C#, D, Erlang, Go, Haskell, Java, JavaScript (NodeJS), Lua, OCaml, Perl, PHP, Python, Ruby, Rust, Scala, Smalltalk, and Swift.
==Data types and syntax== Data structures processed by MessagePack loosely correspond to those used in JSON format. They consist of the following element types: nil bool, Boolean (true and false) int, integer (up to 64 bits signed or unsigned) float, floating point numbers (IEEE single/double precision) str, UTF-8 string bin, binary data (up to 232 − 1 bytes) array map, an associative array ext (arbitrary data of an application-defined format, up to 232 − 1 bytes) timestamp (ext type = −1) (up to 64-bit seconds and 32-bit nanoseconds)