nlohmann::basic_json::from_cbor

Synopsis

Declared in <nlohmann/json.hpp>

[[nodiscard, deprecated]]
static
basic_json
from_cbor(
    detail::span_input_adapter&& i,
    bool const strict = true,
    bool const allow_exceptions = true,
    cbor_tag_handler_t const tag_handler = cbor_tag_handler_t::error);

WARNING

Deprecated: Since 3.8.0; use from_cbor(ptr, ptr + len). Use of this entity is allowed but discouraged.

Return Value

NOTE

The return value should not be discarded.