[#nlohmann-basic_json-0e-from_cbor-0d] = xref:nlohmann.adoc[nlohmann]::xref:nlohmann/basic_json-0e.adoc[basic_json<>]::from_cbor :relfileprefix: ../../ :mrdocs: == Synopsis Declared in `<nlohmann/json.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename T> [[__warn_unused_result__, __deprecated__]] static xref:nlohmann/basic_json-00.adoc[basic_json] from_cbor( T const* ptr, std::size_t len, bool const strict = true, bool const allow_exceptions = true, xref:nlohmann/basic_json-00/cbor_tag_handler_t.adoc[cbor_tag_handler_t] const tag_handler = cbor_tag_handler_t::error); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#