nlohmann::basic_json::from_cbor

create a JSON value from an input in CBOR format

Synopsis

Declared in <nlohmann/json.hpp>
template<typename IteratorType>
[[__warn_unused_result__]]
static
basic_json
from_cbor(
    IteratorType first,
    IteratorType last,
    bool const strict = true,
    bool const allow_exceptions = true,
    cbor_tag_handler_t const tag_handler = cbor_tag_handler_t::error);


Return Value

a class to store JSON values

Parameters

Name Description
tag_handler how to treat CBOR tags

Created with MrDocs