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

Function to_bjdata

Source/external/json.hpp:23455–23462  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

23453 /// @brief create a BJData serialization of a given JSON value
23454 /// @sa https://json.nlohmann.me/api/basic_json/to_bjdata/
23455 static std::vector<std::uint8_t> to_bjdata(const basic_json& j,
23456 const bool use_size = false,
23457 const bool use_type = false)
23458 {
23459 std::vector<std::uint8_t> result;
23460 to_bjdata(j, result, use_size, use_type);
23461 return result;
23462 }
23463
23464 /// @brief create a BJData serialization of a given JSON value
23465 /// @sa https://json.nlohmann.me/api/basic_json/to_bjdata/

Callers

nothing calls this directly

Calls 1

write_ubjsonMethod · 0.80

Tested by

no test coverage detected