mirror of
https://github.com/nlohmann/json.git
synced 2025-08-07 18:02:57 +03: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