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

Function to_bson

Source/external/json.hpp:23482–23487  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

23480 /// @brief create a BSON serialization of a given JSON value
23481 /// @sa https://json.nlohmann.me/api/basic_json/to_bson/
23482 static std::vector<std::uint8_t> to_bson(const basic_json& j)
23483 {
23484 std::vector<std::uint8_t> result;
23485 to_bson(j, result);
23486 return result;
23487 }
23488
23489 /// @brief create a BSON serialization of a given JSON value
23490 /// @sa https://json.nlohmann.me/api/basic_json/to_bson/

Callers

nothing calls this directly

Calls 1

write_bsonMethod · 0.80

Tested by

no test coverage detected