@brief create a CBOR serialization of a given JSON value @sa https://json.nlohmann.me/api/basic_json/to_cbor/
| 23546 | /// @brief create a CBOR serialization of a given JSON value |
| 23547 | /// @sa https://json.nlohmann.me/api/basic_json/to_cbor/ |
| 23548 | static void to_cbor(const basic_json& j, detail::output_adapter<std::uint8_t> o) |
| 23549 | { |
| 23550 | binary_writer<std::uint8_t>(o).write_cbor(j); |
| 23551 | } |
| 23552 | |
| 23553 | /// @brief create a CBOR serialization of a given JSON value |
| 23554 | /// @sa https://json.nlohmann.me/api/basic_json/to_cbor/ |