Skip to content

MessagePack library for Arduino and embedded C++ | msgpack.org[Arduino/C++]

Notifications You must be signed in to change notification settings

bblanchon/ArduinoJson-msgpack.org

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

MessagePack for Arduino

arduino-library-badge Build Status Build Status Fuzzing Status Coverage Status GitHub stars

ArduinoJson supports MessagePack serialization and deserialization.

It supports all MessagePack features except bin format and timestamp.

How to install?

To install ArduinoJson, you can either:

See also: How to install ArduinoJson on arduinojson.org.

How to serialize to MsgPack?

StaticJsonDocument<200> doc;
doc["hello"] = "world";
serializeMsgPack(doc, Serial);

See also: serializeMsgPack() on arduinojson.org.

How to deserialize from MsgPack?

StaticJsonDocument<200> doc;
deserializeMsgPack(doc, input);
const char* hello = doc["hello"];

See also: deserializeMsgPack() and MsgPackParser.ino on arduinojson.org.

About

MessagePack library for Arduino and embedded C++ | msgpack.org[Arduino/C++]

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published