BSON: support objects with null members
This commit is contained in:
parent
6c447de076
commit
c5ef023171
4 changed files with 63 additions and 0 deletions
|
|
@ -203,6 +203,14 @@ class binary_reader
|
|||
sax->boolean(static_cast<bool>(get()));
|
||||
}
|
||||
break;
|
||||
case 0x0A: // null
|
||||
{
|
||||
string_t key;
|
||||
get_bson_cstr(key);
|
||||
sax->key(key);
|
||||
sax->null();
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue