Skip to content
/ msgpack11 Public
forked from ar90n/msgpack11

A tiny MessagePack library for C++11 (msgpack.org[C++11])

License

Notifications You must be signed in to change notification settings

njlr/msgpack11

 
 

Repository files navigation

Build Status

What is msgpack11 ?

msgpack11 is a tiny MsgPack library for C++11, providing MsgPack parsing and serialization.
This library is inspired by json11.
The API of msgpack11 is designed to be similar with json11.

Installation

git clone git@github.com:ar90n/msgpack11.git
mkdir build
cd build
cmake ../msgpack11
make && make install

Example

MsgPack my_msgpack = MsgPack::object {
    { "key1", "value1" },
    { "key2", false },
    { "key3", MsgPack::array { 1, 2, 3 } },
};
std::string msgpack_bytes = my_msgpack.dump();

Feature

  • Support serialization and deserialization.

Acknowledgement

License

This software is released under the MIT License, see LICENSE.txt.

About

A tiny MessagePack library for C++11 (msgpack.org[C++11])

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 97.6%
  • CMake 2.4%