14960 {
14963 std::size_t array_index = 0ul;
14964
14965 for (const auto &el : value)
14966 {
14968 }
14969
14970 oa->write_character(to_char_type(0x00));
14971 }
void write_bson_entry_header(const string_t &name, const std::uint8_t element_type)
Writes the given element_type and name to the output adapter.
output_adapter_t< CharType > oa
the output
void write_bson_element(const string_t &name, const BasicJsonType &j)
Serializes the JSON value j to BSON and associates it with the key name.
static std::size_t calc_bson_array_size(const typename BasicJsonType::array_t &value)