mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 19:10:20 +01:00
fixed GH #1521: bug in JSON ParseHandler.cpp (empty keys should be valid)
This commit is contained in:
@@ -133,7 +133,6 @@ void ParseHandler::setValue(const Var& value)
|
||||
}
|
||||
else if ( parent.type() == typeid(Object::Ptr) )
|
||||
{
|
||||
poco_assert_dbg(!_key.empty());
|
||||
Object::Ptr obj = parent.extract<Object::Ptr>();
|
||||
obj->set(_key, value);
|
||||
_key.clear();
|
||||
|
||||
Reference in New Issue
Block a user