BSON: Support empty objects
This commit is contained in:
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));
|
||||
}
|
||||
|
||||
/*!
|
||||
|
||||
Reference in new issue
Block a user