! @brief create a MessagePack serialization of a given JSON value Serializes a given JSON value @a j to a byte vector using the MessagePack serialization format. MessagePack is a binary serialization format which aims to be more compact than JSON itself, yet more efficient to parse. The library uses the following mapping from JSON values types to MessagePack types accordi
| 23644 | @since version 2.0.9 |
| 23645 | */ |
| 23646 | static std::vector<uint8_t> to_msgpack(const basic_json& j) |
| 23647 | { |
| 23648 | std::vector<uint8_t> result; |
| 23649 | to_msgpack(j, result); |
| 23650 | return result; |
| 23651 | } |
| 23652 | |
| 23653 | static void to_msgpack(const basic_json& j, detail::output_adapter<uint8_t> o) |
| 23654 | { |
nothing calls this directly
no test coverage detected