JSON for Modern C++  3.7.3

◆ to_bson() [2/3]

static void nlohmann::basic_json::to_bson ( const basic_json j,
detail::output_adapter< char >  o 
)
inlinestatic
Parameters
jThe JSON object to convert to BSON.
oThe output adapter that receives the binary BSON representation.
Precondition
The input j shall be an object: j.is_object() == true
See also
to_bson(const basic_json&)

Definition at line 21421 of file json.hpp.