@brief create a CBOR serialization of a given JSON value @sa https://json.nlohmann.me/api/basic_json/to_cbor/
| 23389 | /// @brief create a CBOR serialization of a given JSON value |
| 23390 | /// @sa https://json.nlohmann.me/api/basic_json/to_cbor/ |
| 23391 | static void to_cbor(const basic_json& j, detail::output_adapter<std::uint8_t> o) |
| 23392 | { |
| 23393 | binary_writer<std::uint8_t>(o).write_cbor(j); |
| 23394 | } |
| 23395 | |
| 23396 | /// @brief create a CBOR serialization of a given JSON value |
| 23397 | /// @sa https://json.nlohmann.me/api/basic_json/to_cbor/ |