create a BSON serialization of a given JSON value

Synopsis

Declared in <nlohmann/json.hpp>

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

Parameters

Name

Description

j

JSON value to serialize

o

output adapter to write the serialization to

Created with MrDocs