mirror of
https://github.com/nlohmann/json.git
synced 2026-07-30 15:43:01 +04:00
BSON: support objects with null members
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user