BSON: Support empty objects

This commit is contained in:
Julian Becker committed 2018-09-15 00:43:39 +02:00
1 parent f06c8fd8e3
commit 5f5836ce1c
4 files changed
+124 -33

No files matched your search

@@ -684,7 +684,8 @@ class binary_writer
void write_bson_object(const BasicJsonType& j)
{
assert(j.type() == value_t::object);
write_number_little_endian(5);
oa->write_character(static_cast<CharType>(0x00));
}
/*!