@brief create a UBJSON serialization of a given JSON value @sa https://json.nlohmann.me/api/basic_json/to_ubjson/
| 23426 | /// @brief create a UBJSON serialization of a given JSON value |
| 23427 | /// @sa https://json.nlohmann.me/api/basic_json/to_ubjson/ |
| 23428 | static std::vector<std::uint8_t> to_ubjson(const basic_json& j, |
| 23429 | const bool use_size = false, |
| 23430 | const bool use_type = false) |
| 23431 | { |
| 23432 | std::vector<std::uint8_t> result; |
| 23433 | to_ubjson(j, result, use_size, use_type); |
| 23434 | return result; |
| 23435 | } |
| 23436 | |
| 23437 | /// @brief create a UBJSON serialization of a given JSON value |
| 23438 | /// @sa https://json.nlohmann.me/api/basic_json/to_ubjson/ |
nothing calls this directly
no test coverage detected