create a UBJSON serialization of a given JSON value

Synopsis

Declared in <nlohmann/json.hpp>

static
void
to_ubjson(
    basic_json const& j,
    detail::output_adapter<uint8_t> o,
    bool const use_size = false,
    bool const use_type = false);

Parameters

Name

Description

j

a class to store JSON values

Created with MrDocs