[#nlohmann-basic_json-0e-to_cbor-020b] = xref:nlohmann.adoc[nlohmann]::xref:nlohmann/basic_json-0e.adoc[basic_json<>]::to_cbor :relfileprefix: ../../ :mrdocs: == Synopsis Declared in `<nlohmann/json.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void to_cbor( xref:nlohmann/basic_json-00.adoc[basic_json] const& j, detail::output_adapter<uint8_t> o); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#