Declared in <nlohmann/json.hpp>
template<typename T>
[[nodiscard, deprecated]]
static
basic_json<>
from_cbor(
T const* ptr,
std::size_t len,
bool const strict = true,
bool const allow_exceptions = true,
cbor_tag_handler_t const tag_handler = cbor_tag_handler_t::error);
Deprecated: Since 3.8.0; use from_cbor(ptr, ptr + len). Use of this entity is allowed but discouraged.
The return value should not be discarded.