create a CBOR serialization of a given JSON value

Synopsis

Declared in <nlohmann/json.hpp>

static
void
to_cbor(
    basic_json const& j,
    /* implementation-defined */::output_adapter<uint8_t> o);

Parameters

Name

Description

j

JSON value to serialize

o

output adapter to write the serialization to

Created with MrDocs