nlohmann::basic_json::to_bjdata

create a BJData serialization of a given JSON value

Synopsis

Declared in <nlohmann/json.hpp>
static
std::vector<uint8_t>
to_bjdata(
    basic_json const& j,
    bool const use_size = false,
    bool const use_type = false,
    bjdata_version_t const version = bjdata_version_t::draft2);


Parameters

Name Description
j a class to store JSON values
version how to encode BJData

Created with MrDocs