4
v_2_0_cpp_json
Andreas Haferburg edited this page 2022-02-10 11:04:05 +01:00

Using msgpack-c with JSON

msgpack-c partially supported JSON. If you use msgpack-c and JSON for Modern C++ together, most of use-cases are covered.

conversion table

from \ to MessagePack formatted byte stream msgpack::object JSON
MessagePack formatted byte stream - unpack Not directly supported. Create msgpack::object first, or use other libraries such as JSON for Modern C++
msgpack::object pack - apply std::ostream <<
JSON Not supported. Use other libraries such as JSON for Modern C++ Not supported -