MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / to_msgpack

Function to_msgpack

Source/external/json.hpp:23405–23410  ·  view source on GitHub ↗

@brief create a MessagePack serialization of a given JSON value @sa https://json.nlohmann.me/api/basic_json/to_msgpack/

Source from the content-addressed store, hash-verified

23403 /// @brief create a MessagePack serialization of a given JSON value
23404 /// @sa https://json.nlohmann.me/api/basic_json/to_msgpack/
23405 static std::vector<std::uint8_t> to_msgpack(const basic_json& j)
23406 {
23407 std::vector<std::uint8_t> result;
23408 to_msgpack(j, result);
23409 return result;
23410 }
23411
23412 /// @brief create a MessagePack serialization of a given JSON value
23413 /// @sa https://json.nlohmann.me/api/basic_json/to_msgpack/

Callers

nothing calls this directly

Calls 1

write_msgpackMethod · 0.80

Tested by

no test coverage detected