create a BJData serialization of a given JSON value
Synopsis
Declared in <nlohmann/json.hpp>
static
void
to_bjdata(
basic_json const& j,
/* implementation-defined */::output_adapter<char> o,
bool const use_size = false,
bool const use_type = false,
bjdata_version_t const version = bjdata_version_t::draft2);
Parameters
Name |
Description |
j |
JSON value to serialize |
o |
output adapter to write the serialization to |
use_size |
whether to add size annotations to container types |
use_type |
whether to add type annotations to container types (must be combined with use_size = true) |
version |
the BJData version to use for the serialization |
Created with MrDocs